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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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.