Forum Discussion

florian.buchholz.1988's avatar
florian.buchholz.1988
Expert Protege
1 month ago

Unity Crash with simulator, always on second start

Moin,
so my unity crashes every time I try to run the app with the Meta Simulator (V83) the second time. The first time it works, the second time it just crashes without even a crash report.

It is very annoying and makes working quite difficult.

Unity version 6000.2.2f1
Meta SDK V83

Sometimes I also get these errors. Since the Simulator changed quite a lot in V83, maybe there is an error in this current version:

Failed to initialize Open XR. xrInstance: 69770, xrSession: 0, xrInstanceProcAddrFunc: 140729057810272
UnityEngine.Debug:LogError (object)
Meta.XR.MRUtilityKit.MRUK:InitializeSharedLibrary () (at ./Library/PackageCache/com.meta.xr.mrutilitykit@671a38697dfa/Core/Scripts/MRUK.Shared.cs:117)

MRUK Shared: Open XR session is not available
UnityEngine.Debug:LogFormat (UnityEngine.LogType,UnityEngine.LogOption,UnityEngine.Object,string,object[])
Meta.XR.MRUtilityKit.MRUK:OnSharedLibLog (Meta.XR.MRUtilityKit.MRUKNativeFuncs/MrukLogLevel,char*,uint) (at ./Library/PackageCache/com.meta.xr.mrutilitykit@671a38697dfa/Core/Scripts/MRUK.cs:659)
Meta.XR.MRUtilityKit.MRUK/<ConfigureTrackerAndLogResult>d__150:MoveNext () (at ./Library/PackageCache/com.meta.xr.mrutilitykit@671a38697dfa/Core/Scripts/MRUK.Trackers.cs:289)
System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<Meta.XR.MRUtilityKit.MRUK/<ConfigureTrackerAndLogResult>d__150> (Meta.XR.MRUtilityKit.MRUK/<ConfigureTrackerAndLogResult>d__150&)
Meta.XR.MRUtilityKit.MRUK:ConfigureTrackerAndLogResult (OVRAnchor/TrackerConfiguration)
Meta.XR.MRUtilityKit.MRUK:UpdateTrackables () (at ./Library/PackageCache/com.meta.xr.mrutilitykit@671a38697dfa/Core/Scripts/MRUK.Trackers.cs:256)
Meta.XR.MRUtilityKit.MRUK:Update () (at ./Library/PackageCache/com.meta.xr.mrutilitykit@671a38697dfa/Core/Scripts/MRUK.cs:746)

 

 

Any ideas on what to check for?

2 Replies

  • jtriveri's avatar
    jtriveri
    Start Partner

    Are you using OpenXR with the 'Meta Quest' (not 'Meta XR') feature group? The 'Boundary Visibility' feature crashes the simulator. Uncheck the feature in the Desktop tab (not the Android/Meta tab, as that does not affect the editor). 

     

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions