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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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.