-
Notifications
You must be signed in to change notification settings - Fork 71
Troubleshooting for developers
When communicating with the Unity MR Plugin team to troubleshoot issues, the following tips are handy!
PRIVACY NOTICE: THE TRACE FILES CREATED THROUGH THE STEPS BELOW MAY COLLECT PERSONAL INFORMATION (SUCH AS WINDOWS USER NAME). DO NOT EVER UPLOAD THE TRACE FILE PUBLICLY ONLINE. ONLY SEND THE TRACE FILE PRIVATELY TO YOUR CONTACT AT MICROSOFT. YOUR DATA WILL NOT BE USED FOR ANY PURPOSE OTHER THAN PROVIDING SUPPORT. YOUR DATA WILL NOT BE SHARED OUTSIDE MICROSOFT.
NOTE: These instructions are applicable to collect traces on PC or Windows Mixed Reality immersive headsets, AppRemoting and PlayMode in Unity editor.
Before starting, please close any OpenXR application or Unity Editor instance. This is to ensure that the trace to capture will start from a fresh state.
- Download the tracing profile (
MRPlugin.wprp) - Open an elevated command line prompt or PowerShell prompt
- Use the following command:
wpr -start path\to\MRPlugin.wprp -filemode - Open your Unity application and reproduce the issue
- Return to the command line prompt, and use the following command:
wpr -stop MRPlugin.etl - A new file,
MRPlugin.etl, is created in the current working folder
Please compress the ETL trace (eg: ZIP archive) before sending it to the Unity MR Plugin team. ETL files achieve a very high ratio of compression.
NOTE: These instructions are applicable to HoloLens 2 and Windows Mixed Reality immersive headsets.
Before starting, please close any OpenXR application. This is to ensure that the trace to capture will start from a fresh state.
- Enable the Device Portal
- Download the tracing profile (
MRPlugin.wprp) - Open the Device Portal
- From the menu on the left, navigate to Performance tracing (on HoloLens 2, this might be under a Performance submenu)
- Under Select a profile, choose Custom profiles, then Choose File
- Navigate to the location of the
MRPlugin.wprpfile downloaded in step 2) - Click Start Trace, and wait for the label "Performance trace is in progress" to appear
- Open your OpenXR application and reproduce the issue
- Return to the Device Portal, and click Stop Trace
- After a few seconds, go to the Traces section further down the page, and download the corresponding ETL trace
Please compress the ETL trace (eg: ZIP archive) before sending it to the Windows Mixed Reality team. ETL files achieve a very high ratio of compression.