Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Uncheck “Initialize XR on Startup” in Edit > Project Settings > XR Plug-in Management
4. Connect Quest with the Quest link
5. Enter the Play Mode
6. Unplug Quest when the square becomes green
7. Move the mouse in Hierarchy
Expected result: The Editor continues to run without freezing
Actual result: Editor freezes from a few seconds to a couple of minutes
Reproducible with: 2022.3.31f1, 6000.0.4f1
Could not test with: 2021.3.39f1 (Assets\Oculus\Interaction\Editor\AutoWiring\UnityObjectAddedBroadcaster.cs(74,50): error CS0117: 'SceneManager' does not contain a definition for 'loadedSceneCount')
Reproducible on:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Reproducible with OpenXR and Oculus XR