Version: 5.6
Windows Store Apps: Deployment
Windows Store Apps: Command line arguments

Windows Store Apps: Profiler

You can connect Unity’s profiler to running Windows Store Application. Perform the following steps:

  • 选择 Player Settings > Publishing Settings > Capabilities
  • 启用专用网络(客户端和服务器)
  • Build Windows Store App Visual Studio solution from Unity.
  • 构建并运行应用程序
  • If you’ve checked Autoconnect Profiler checkbox, the profiler should connect automatically to Windows Store App, if not - you have to explicitly pick it in Unity (Window -> Profiler -> Active Profiler), for ex., MetroPlayerX86 (MyDevice)

注意:性能分析器不适用于 Master 配置

Note: Due Windows Store Apps restrictions, you won’t be able to connect the profiler if the application is running on the same machine. For ex., if you’re running Unity editor and Windows Store App on the same PC, you won’t able to connect. You have to run Unity editor on one machine, and Windows Store App on another machine.

Note: Also ensure that machine where Unity Editor is running and machine where Windows Store App is running - are on the same subnet.

Windows Store Apps: Deployment
Windows Store Apps: Command line arguments