Search Issue Tracker
Fixed
Fixed in 2.1.1
Votes
1
Found in [Package]
2.1.0
Issue ID
MOXRB-144
Regression
No
Unity crashed on "UnityOpenXRMeta_OpenXRLifeCycle_OnInstanceCreate" when entering into Play Mode with Meta Quest connected using Meta Link
Reproduction steps:
1. Create a new project from MR template
2. Make sure that VR headset is connected
3. Make sure to put on the headset to activate it
4. Enter Play Mode
6. Observe the result
Expected result: Editor enters into Play Mode
Actual result: Editor crashes
Reproducible in: 2.1.0 (6000.0.47f1, 6000.1.2f1), 2.1.1 (6000.1.1f1)
Reproducible on: Windows 11 (user reported)
Not reproducible on: No other environment tested
First few lines of the stack trace:
{noformat}0x00007FFBA9B56B26 (libUnityARFoundationMeta) UnityOpenXRMeta_OpenXRLifeCycle_OnInstanceCreate
0x000001CF7FFAF9BA (Mono JIT Code) (wrapper managed-to-native) UnityEngine.XR.OpenXR.Features.Meta.OpenXRLifeCycleFeature/NativeApi:UnityOpenXRMeta_OpenXRLifeCycle_OnInstanceCreate (ulong)
0x000001CF7FFAF923 (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.meta-openxr@aee2fa51cb2b\Runtime\OpenXRLifeCycleFeature.cs:83] UnityEngine.XR.OpenXR.Features.Meta.OpenXRLifeCycleFeature:OnInstanceCreate (ulong)
0x000001CF7FFAF5ED (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.openxr@3903c1059bcf\Runtime\Features\OpenXRFeature.cs:670] UnityEngine.XR.OpenXR.Features.OpenXRFeature:ReceiveNativeEvent (UnityEngine.XR.OpenXR.Features.OpenXRFeature/NativeEvent,ulong)
0x000001CF7FFAF1AB (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.openxr@3903c1059bcf\Runtime\OpenXRLoader.cs:684] UnityEngine.XR.OpenXR.OpenXRLoaderBase:ReceiveNativeEvent (UnityEngine.XR.OpenXR.Features.OpenXRFeature/NativeEvent,ulong)
0x000001CF7FFACE2B (Mono JIT Code) (wrapper native-to-managed) UnityEngine.XR.OpenXR.OpenXRLoaderBase:ReceiveNativeEvent (UnityEngine.XR.OpenXR.Features.OpenXRFeature/NativeEvent,ulong){noformat}
Notes:
- The issue did not reproduce for CQA
- The issue may reproduce after exiting from Play Mode as well
- The Editor may function without issues the first time or second time when entering Play Mode. The issue is supposed to reproduce after entering into Play Mode subsequent time
- The issue may reproduce with Meta Quest connected via cable (not Air Link)
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
Add comment