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

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

9083098–1257409–Crash_2023-06-15_140833763.7z (142 KB)

2 Likes

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

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

I believe we’ve reproduced the issue and have the bug logged as a work item.

This basically makes testing in editor with oculus runtime impossible… Any word on when this will be fixed?

i found a work around u just have to enable meta xr and it should work fine in the editor

9143950--1270591--upload_2023-7-13_11-39-50.png9143950--1270588--forum.unity.png

9143950--1270588--forum.unity.png
9143950--1270591--upload_2023-7-13_11-39-50.png

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. :frowning:

use my workaround it should work fine in editor u can test without crash :slight_smile:

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.

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

No news try to use openxr

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.

Happens to me also, 2022.3.10f1.
Every second play I crash.
Setting up as OpenXR instead does not resolve the problem.

Happens also in 2022.3.20f1

  • oculus XR Plugin 2.1.2
  • OpenXR Plugin 1.10.0
  • XR Plugin Management 4.4.1

Has this issue been solved yet?

this issue is still here for me on 2023.2.9f1

use Meta Quest XR SDK

tried installing this, doesn’t seem to make a difference unfortunately. Pretty sure I’ve done it right as well, but I did get some warnings saying there was conflicts with OpenXR

disabling ‘enable xr interaction on startup’ seems to work. just need to turn it back on when you test in VR I think but when playing through editor, having this option off does not seem to crash it for me

Unity 2022.3.5f1
Packages :

  • Meta XR Core SDK v65.0.0
  • Meta XR Interaction SDK v65.0.0
  • Meta XR Interaction SDK OVR Interaction v65.0.0
  • Meta XR Interaction SDK OVR Samples v65.0.0
  • Meta XR SDK Shared Assets v65.0.0

Disabling Project Settings > XR Plug-in Management > Windows (Initialize XR on Startup) works for me.