Search Issue Tracker

Active

Under Consideration for 1.9.X

Votes

0

Found in [Package]

1.9.1

Issue ID

OXRB-295

Regression

Yes

[Quest] Editor crashes on UnityEngine.SubsystemBindings:DestroySubsystem when active GameObject with a specific script is selected in Hierarchy

Package: OpenXR Plugin

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/_RaZum/HandMeshTest.unity” Scene
3. In the Project window, search for MaterialAnimator
4. Right-click MaterialAnimator.cs
5. Select Find References In Scene
6. Enter the Play Mode
7. In Hierarchy, select any active GameObject in the current search filter
8. Exit the Play Mode

Expected result: The Editor does not crash and Play Mode is no longer running
Actual result: Editor crashes

Reproducible with: 1.9.1 (2022.3.12f1, 2022.3.18f1, 2023.2.7f1, 2023.3.0b4)
Not reproducible with: 1.8.2 (2022.3.12f1), 1.9.1 (2021.3.34f1)

Reproducible with devices:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
Quest 3 (User reported)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

First few lines of the Stacktrace:
at <unknown> <0xffffffff>
at UnityEngine.SubsystemBindings:DestroySubsystem <0x00089>
at UnityEngine.IntegratedSubsystem:Destroy <0x00042>
at UnityEngine.XR.Management.XRLoaderHelper:DestroySubsystem <0x000d0>
at UnityEngine.XR.OpenXR.OpenXRLoaderBase:DestroySubsystem <0x0003a>

Notes:
- Reproducible with OpenXR
- Sometimes reproduces after selecting the GameObject and clicking outside the Editor
- View in VR starts lagging after completing step 7
- Does not reproduce with Oculus XR 4.2.0-exp-env-depth.2, but starts lagging after step 7
- Does not reproduce if active GameObject with MaterialAnimator.cs script is not selected

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.