Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.6.0
Issue ID
OXRB-125
Regression
Yes
[OpenXR] Editor crashes when entering Play Mode without a connected headset with OpenXR and MetaXR Feature is enabled
Steps to reproduce:
1. Open the attached user's project "VR-Screenshake-Test.zip" or create a new VR project
2. Set XR plugin to OpenXR and enable the MetaXR feature (Oculus integration package needs to be installed)
3. Make sure that there's no headset connected
4. Enter Play Mode
Expected results: Editor does not crash
Actual results: Editor crashes
Reproducible on: OpenXR 1.5.0 - 1.6.0 (2020.3.45f1, 2021.3.19f1, 2022.2.7f1, 2023.1.0b5, 2023.2.0a4)
Not reproducible on: OpenXR 1.3.1 (2020.3.45f1, 2021.3.19f1)
Could not test with OpenXR 1.4.0, 1.4.1, 1.4.2 due to failure downloading the package and scripting errors when upgrading to 1.4.1 and 1.4.2
Stack trace:
Meta.XR.MetaXRFeature:OnInstanceCreate (ulong) (at Assets/Oculus/VR/Scripts/MetaXRFeature.cs:130)
UnityEngine.XR.OpenXR.Features.OpenXRFeature:ReceiveNativeEvent (UnityEngine.XR.OpenXR.Features.OpenXRFeature/NativeEvent,ulong) (at ./Library/PackageCache/com.unity.xr.openxr@1.6.0/Runtime/Features/OpenXRFeature.cs:630)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:ReceiveNativeEvent (UnityEngine.XR.OpenXR.Features.OpenXRFeature/NativeEvent,ulong) (at ./Library/PackageCache/com.unity.xr.openxr@1.6.0/Runtime/OpenXRLoader.cs:629)
UnityEngine.IntegratedSubsystemDescriptor`1<UnityEngine.XR.XRDisplaySubsystem>:Create ()
UnityEngine.IntegratedSubsystemDescriptor`1<UnityEngine.XR.XRDisplaySubsystem>:CreateImpl ()
UnityEngine.IntegratedSubsystemDescriptor:UnityEngine.ISubsystemDescriptor.Create ()
Notes:
-Newest version of Oculus Integration package was used (49.0)
-Crash only reproduces if MetaXR feature is enabled in the OpenXR settings
-
Resolution Note:
Our partners at Meta are aware of this issue and will be releasing a fix with their next OS update by the end of March.
Duplicate of another internal issue: OXRB-121: Crash on MemoryManager::CheckDisalowAllocation(!Unknown!) when entering the Play Mode
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
- Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
This is a duplicate of issue #UUM-25221