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
<...>
Comments (2)
-
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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note (fix version 1.9.1):
This will be fixed in the 1.9.1 release of the Oculus XR Plugin.