Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Unity Editor Crash after entering playmode second time Quest 2 SDK 54.0

Discussion in 'VR' started by GMAGames, Jun 15, 2023.

  1. GMAGames

    GMAGames

    Joined:
    Dec 12, 2015
    Posts:
    12
    Unity editor crashing everytime i play for second time using oculus xr plugin



    Unity version : 2021.3.10f1

    Xr managment version : 4.2.1

    Oculus XR Plugin : 3.0.2

    Oculus integration : 54.0



    i'm not using openxr



    this happen in a fresh project after i imported quest 2 integration, work fine when compiling to android
     

    Attached Files:

    ozsimsek likes this.
  2. GMAGames

    GMAGames

    Joined:
    Dec 12, 2015
    Posts:
    12
    hello did anyone has this problems because i tried 2021.3.10f1 and 2022.2.7f1 and still the same problem

    my quest headset is updated and my oculus software pc updated too
     
  3. GMAGames

    GMAGames

    Joined:
    Dec 12, 2015
    Posts:
    12
    Steps to replicate :
    1- create new 3d project
    2- import quest integration v 54.0
    3- launch oculus software first time it play well but when u stop and enter play mode second time it crash
     
  4. DarkSoulsBoss2

    DarkSoulsBoss2

    Unity Technologies

    Joined:
    Mar 24, 2023
    Posts:
    16
    I believe we've reproduced the issue and have the bug logged as a work item.
     
  5. jwlondon98

    jwlondon98

    Joined:
    Mar 27, 2015
    Posts:
    11
    This basically makes testing in editor with oculus runtime impossible.. Any word on when this will be fixed?
     
  6. GMAGames

    GMAGames

    Joined:
    Dec 12, 2015
    Posts:
    12
    i found a work around u just have to enable meta xr and it should work fine in the editor
     
  7. GMAGames

    GMAGames

    Joined:
    Dec 12, 2015
    Posts:
    12
    upload_2023-7-13_11-39-50.png upload_2023-7-13_11-40-1.png
     

    Attached Files:

  8. jwlondon98

    jwlondon98

    Joined:
    Mar 27, 2015
    Posts:
    11
    That's not really a workaround if you have to use Oculus as the plug in provider (like me). Right now the only workaround if you need to use Oculus as the plug in provider is to crash the editor every 2nd time you enter play mode and then re open your entire project. :(
     
  9. GMAGames

    GMAGames

    Joined:
    Dec 12, 2015
    Posts:
    12
    use my workaround it should work fine in editor u can test without crash :)
     
  10. jwlondon98

    jwlondon98

    Joined:
    Mar 27, 2015
    Posts:
    11
    Your workaround works for OpenXR but I am using other packages that require me to use Oculus as my XR plugin provider so I have no choice but to use Oculus.
     
  11. GHSmediaSrl

    GHSmediaSrl

    Joined:
    Dec 2, 2015
    Posts:
    12
    News about it? It also crashing with:

    Unity version : 2022.3.9f1
    Xr managment version : 4.2.1
    Oculus XR Plugin : 4.0.0
    Oculus integration : 56.0
     
  12. GMAGames

    GMAGames

    Joined:
    Dec 12, 2015
    Posts:
    12
    No news try to use openxr
     
  13. ozsimsek

    ozsimsek

    Joined:
    Aug 29, 2020
    Posts:
    8
    Hi, Im waiting for an update on this for my Quest 2, I dont even have meta feature option in OpenXR options.
    Im using OpenXR and latest updates on every software and plugin, also Unity editor is 2022 lts.

    Crash happens after I get to the play mode the second time. So I have to restart Editor for every test I do, its very annoying.