Legacy Documentation: Version 4.5
Previous
Windows Store Apps: Debugging
Next
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:

  • Build Windows Store App Visual Studio solution from Unity.
  • After opening the solution, open Package.appxmanifest->Capabilities
  • Enable Internet (Client & Server)
  • Enable Private Networks (Client & Sever)
  • Build and run the application
  • 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->ActiverProfiler), for ex., MetroPlayerX86 (MyDevice)

Note: Profiler doesn’t work on Master configuration

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.

Previous
Windows Store Apps: Debugging
Next
Windows Store Apps : Command line arguments