Search Issue Tracker
Third Party Issue
Under Consideration for 4.1.X
Votes
0
Found in [Package]
4.1.2
Issue ID
OXPB-142
Regression
No
[Quest] Editor crashes on ovrp_UnityOpenXR_OnSessionDestroy with a specific project when entering the Play Mode for the second time without VR connected
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/BorderDemo.unity” Scene
3. Enter the Play Mode
4. Exit the Play Mode
5. Repeat step 3
Expected result: Editor does not crash and continues to run
Actual result: Editor crashes
Reproducible with: 2021.3.35f1, 2022.3.20f1, 2023.2.11f1, 2023.3.0b8
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
First few lines of the Stacktrace:
{{0x00007FFAB912882F (OVRPlugin) ovrp_UnityOpenXR_OnSessionDestroy}}
{{0x00007FFAB9121CF9 (OVRPlugin) ovrp_UnityOpenXR_OnSessionDestroy}}
{{0x00007FFAB9152724 (OVRPlugin) ovrp_UnityOpenXR_OnSessionDestroy}}
{{0x00007FFAB90E3ED9 (OVRPlugin) ovrp_Initialize7}}
{{0x00007FFB14173AE7 (OculusXRPlugin) XRSDKPreInit}}
Notes:
- Only reproduces without VR connected
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [macOS] Project fails to load when Virtual Artifacts are Corrupted
- Long scheduler times on main thread when using InstantiateAsync with a singular massive Prefab
- The project hangs upon opening it when importing the "discrete_rank2_vector_v2_0.onnx" file
- Opening the Look Dev hangs the Editor when the window is opened for the first time in the project or after deleting the Library folder
- Look Dev has blurry icons on 4k monitors
Resolution Note:
This issue is caused by the Vive Input Utility's project validator tool. It will enable OpenXR even if another loader is already active, which is not allowed by Unity. We have reported this issue to HTC: https://github.com/ViveSoftware/ViveInputUtility-Unity/issues/272
The workaround is to go to XR Plugin Management and ensure that only one loader is checked.