Search Issue Tracker
Fixed in 1.9.1
Votes
1
Found in [Package]
1.9.0
Issue ID
1324140
Regression
No
[XR SDK][Oculus] Editor crashes on SetUserDefinedSettings when entering Play mode and all system's microphones are disabled
Reproduction steps:
1. Make sure all system's microphones are disabled (Control Panel > Hardware and Sound > Sound > Recording)
2. Open the attached "case_1324140.zip" project
3. Enter Play mode
-- Observe the crash
Reproducible with: Oculus XR 1.5.1, 1.9.0 (2019.4.23f1, 2020.3.2f1, 2021.1.1f1, 2021.2.0a12)
Note: could not reproduce with the Legacy XR or other XR Plug-in Providers
Tested:
- Oculus Rift
First lines of the stacktrace:
at (wrapper managed-to-native) UnityEngine.SubsystemDescriptorBindings.Create (intptr) [0x00007] in <d88282396ccf4e3d9928b2ccc088cce6>:0
at UnityEngine.IntegratedSubsystemDescriptor`1<TSubsystem_REF>.Create () [0x00001] in C:\SourceCode\unity\Modules\Subsystems\IntegratedSubsystemDescriptor.bindings.cs:44
at UnityEngine.IntegratedSubsystemDescriptor`1<TSubsystem_REF>.CreateImpl () [0x00001] in C:\SourceCode\unity\Modules\Subsystems\IntegratedSubsystemDescriptor.bindings.cs:39
at UnityEngine.IntegratedSubsystemDescriptor.UnityEngine.ISubsystemDescriptor.Create () [0x00000] in C:\SourceCode\unity\Modules\Subsystems\IntegratedSubsystemDescriptor.bindings.cs:27
at UnityEngine.XR.Management.XRLoaderHelper.CreateSubsystem<TDescriptor_REF, TSubsystem_REF> (System.Collections.Generic.List`1<TDescriptor_REF>,string) [0x00060] in C:\Users\edvardas.nov\Downloads\case_1324140\Library\PackageCache\com.unity.xr.management@4.0.1\Runtime\XRLoaderHelper.cs:113
<...>
-
brholtkamp
Apr 26, 2021 06:22
Reproduced with Oculus XR Plugin 1.9.0 using Unity 2021.1.4f1.
Thanks for tracking down it was the microphone, such a crazy bug.
-
c_Feng
Apr 01, 2021 00:51
Reproduced with Oculus XR Plugin 1.8.1 using Unity 2021.1.1f1.
Thumbs up to the OP figuring out this was caused by having all system microphones disabled. Nasty bug.
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
- Rigidbody2D with interpolation position breaks when rotation is set and Time.timeScale is adjusted
- Non-bold Japanese characters become bolder when the first button has those characters in bold in a custom window rootVisualElement
- The window divider between the Project and Animator windows does not move when trying to drag it from the Animator window side
- Memory usage is growing in IL2CPP Build when gRPC server is running
- Crash on SerializedObject::DidTypeTreeChange when editing a text field that updates its asset in OnValidate and is bound to a UIElement Custom Property Drawer
Resolution Note (fix version 1.9.1):
This will be fixed in the 1.9.1 release of the Oculus XR Plugin.