cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot start XR in Unity

Dash_
Honored Guest

When I try to run my project the XR part crashes with the following being written into the unity crash.log. I do not think this is a unity problem?

I am developing a PCVR game and have tried Meta SDK All-In-One v66 and the core package v67, with unity 2022.2.20f1 and 2022.3.38f1 with the same results.

I suspect that this started following a recent update to my Quest 2 firmware. I ran an older Unity project which was working a few weeks ago, and it too crashes now.

PLEASE help, as I am unable to run any kind of VR from Unity right now.

I can do the following:

  • Download Unity 2022.3.38f1
  • Start a new URP project
  • Add Meta All-In-One asset (v66)
  • Add XR Interaction Plugin (4.4.1)
  • Enable the Oculus plug-in provider (4.2.0)
  • Convert main camera to XR camera rig
  • Press Play - Unity editor crashes

(An immediate crash occurs for a build too).

0x000002512EF1BD7C (Mono JIT Code) (wrapper managed-to-native) Unity.XR.Oculus.NativeMethods/Internal:SetUserDefinedSettings (Unity.XR.Oculus.NativeMethods/UserDefinedSettings) 0x000002512EF1BB93 (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.oculus@4.2.0\Runtime\OculusPlugin.cs:170] Unity.XR.Oculus.NativeMethods:SetUserDefinedSettings (Unity.XR.Oculus.NativeMethods/UserDefinedSettings) 0x000002512EF18443 (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.oculus@4.2.0\Runtime\OculusLoader.cs:178] Unity.XR.Oculus.OculusLoader:Initialize () 0x000002512EF16F63 (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.management@4.4.0\Runtime\XRManagerSettings.cs:190] UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync () 0x000002512EF168DB (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.management@4.4.0\Runtime\XRGeneralSettings.cs:175] UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK () 0x000002512EF162AB (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.management@4.4.0\Runtime\XRGeneralSettings.cs:148] UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad () 0x00000250B16508C5 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) 0x00007FF9FEBF697E (mono-2.0-bdwgc) mono_jit_set_domain 0x00007FF9FEB38444 (mono-2.0-bdwgc) mono_object_get_virtual_method 0x00007FF9FEB38530 (mono-2.0-bdwgc) mono_runtime_invoke ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9E45AE154) 0x00007FF9E45AE154 (Unity) (function-name not available) ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9E4588CF3) 0x00007FF9E4588CF3 (Unity) (function-name not available) ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9E41F229F) 0x00007FF9E41F229F (Unity) (function-name not available) ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9E41F73FF) 0x00007FF9E41F73FF (Unity) (function-name not available)

 

 

0 REPLIES 0