Version: 2022.1
언어: 한국어
Deep linking on UWP
Universal Windows Platform: Advanced Topics

UWP Profiler

The Unity profiler is a tool you can use to get performance information about your application. For more information, see documentation on Profiling your application.

To connect the Unity profiler to a running Universal Windows Application, perform the following steps:

  1. Edit > Project Settings > Player로 이동합니다.
  2. Publishing Settings > Capabilities 섹션을 선택합니다.
  3. Enable Private Networks Capability.
  4. Enable Internet (Client & Server) Capability.
  5. If you’ve already selected the Autoconnect Profiler checkbox in Build Settings, the profiler should connect automatically to the Universal Windows App. If not, you have to explicitly select it in Unity in Window > Analysis > Profiler > Active Profiler.
  6. Unity에서 유니버설 Windows 앱 Visual Studio 솔루션을 빌드합니다.
  7. Build and run the application.

Due to UWP restrictions, you won’t be able to connect the profiler if the application is running on the same machine. You have to run the Unity Editor on one machine and UWP on another machine. For example, if you’re running the Unity Editor and UWP on the same PC, you won’t be able to connect the profiler. The only exception to this rule is the Autoconnect Profiler build option, which makes the application connect to the Editor instead.

또한 Unity 에디터가 실행 중인 머신과 유니버설 Windows 앱이 실행 중인 머신이 동일한 서브넷에 있어야 합니다.

참고:Master 설정에서는 프로파일러가 작동하지 않습니다.

Deep linking on UWP
Universal Windows Platform: Advanced Topics