Search Issue Tracker

Third Party Issue

Votes

6

Found in

2019.4

2020.3

2020.3.16f1

2021.1

2021.2

2022.1

Issue ID

1367585

Regression

No

[Oculus] Editor crash on UnityEngine.SubsystemBindings.DestroySubsystem when entering Play Mode with Oculus Quest link

XR SDK

-

Reproduction steps:
1. Open the attached user's project "VR Testing.zip"
2. Connect Quest 1/2 with Oculus Link
3. Enter and exit Play Mode

Expected result: Editor does not crash after exiting the Play Mode
Actual result: Editor crashes after exiting the Play Mode

Reproduces on: 2019.4.30f1, 2020.3.18f1, 2021.1.21f1, 2021.2.0b13, 2022.1.0a10

First 5 lines of stack trace:
at (wrapper managed-to-native) UnityEngine.SubsystemBindings.DestroySubsystem (intptr) [0x00007] in <b828cf365fe548948c3c6eb8aabd159b>:0
at UnityEngine.IntegratedSubsystem.Destroy () [0x00015] in <b828cf365fe548948c3c6eb8aabd159b>:0
at UnityEngine.XR.Management.XRLoaderHelper.DestroySubsystem<T_REF> () [0x0003e] in K:\FitXR Labs\Library\PackageCache\com.unity.xr.management@4.1.0\Runtime\XRLoaderHelper.cs:85
at Unity.XR.Oculus.OculusLoader.Deinitialize () [0x00007] in K:\FitXR-Labs\Library\PackageCache\com.unity.xr.oculus@1.9.1\Runtime\OculusLoader.cs:200
at UnityEngine.XR.Management.XRManagerSettings.DeinitializeLoader () [0x00034] in K:\FitXR-Labs\Library\PackageCache\com.unity.xr.management@4.1.0\Runtime\XRManagerSettings.cs:443

  1. Resolution Note (2022.1.X):

    This is an issue with the Oculus v32 integration asset and Link. Rift S should work fine. This should be resolved with their v33 integration asset.

Comments (6)

  1. Bones888

    Oct 28, 2021 07:01

    The video SKIDVIS posted did work for me and completely resolved my issue

  2. shashankrisal

    Sep 29, 2021 12:06

    The problem seems to vanish after uninstalling and re-installing Oculus XR Plugin

  3. dreamersk519

    Sep 27, 2021 09:12

    Downgrade Oculus Integration to v29 worked fine for me. (Unity 2021.1.22, Oculus Quest 2 with Air Link/Oculus Link)

  4. skidvis

    Sep 25, 2021 16:24

    If you install the Oculus Integration and don't enable OpenXR, it prevents the crashing.
    youtu.be/dU4HPEWKG4g

  5. KilledByToaster

    Sep 24, 2021 14:48

    v33 isn't available yet

  6. cooljkaz

    Sep 24, 2021 13:27

    This is still happening for me in v33.

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.