Meta XR Simulator Closes Immediately After Launch
I'm experiencing a critical issue with the Meta XR Simulator that is preventing me from developing and testing my Unity project. When I try to launch the Meta XR Simulator (either by hitting Play in the Unity Editor or by manually going to Meta > Meta XR Simulator > Launch Environment Server), the simulator window briefly appears and then immediately closes, followed by a Unity console error:
InvalidOperationException: Cannot process request because the process (XXXX) has exited. (Where XXXX is a process ID like 9116).
This issue is occurring consistently across different Unity editor versions, which is highly concerning.
My Setup:
- Unity Editor Versions Tested:
- Unity 2022.3.22f1 LTS (Long Term Support)
- Unity 6000.0.48 (Preview/Beta)
- Meta XR SDK Version: Meta XR All-in-One SDK v77.0
- OpenXR Plugin Version: [Please specify the exact version you have installed, e.g., 1.14.2]
Steps I Have Already Taken (and confirmed the issue persists):
- Checked Dynamic Resolution Settings:
- In Edit > Project Settings > XR Plug-in Management > OpenXR tab, I've looked for "Max Dynamic Resolution Scale" and similar settings.
- Action: Ensured these are set to 1.0 (or similar "no scaling" options).
- Action: Also checked OVRCameraRig's OVRManager component under Quest Features > General for "Enable Dynamic Resolution" and ensured it's unchecked or scales are 1.0.
- Result: No change, simulator still crashes.
- Aggressive Cache/File Cleanup & Reinstallation:
- Action: Completely closed Unity.
- Action: Deleted the Library folder in my project root.
- Action: Deleted the Temp folder in my project root.
- Action: Deleted the obj folder in my project root.
- Action (Windows Specific): Deleted the contents of %AppData%\MetaXR\MetaXrSimulator to clear global simulator cache.
- Action: Reopened Unity (which re-imported everything).
- Action: Uninstalled and reinstalled the Meta XR Simulator package via Unity's Package Manager.
- Result: Simulator still crashes with the same error.
- Verified XR Plug-in Management Configuration:
- In Edit > Project Settings > XR Plug-in Management:
- Windows, Mac, Linux tab: Confirmed only OpenXR is checked as the Plug-in Provider. "Initialize XR on Startup" is unchecked (as I'm trying manual launch).
- Android tab: Confirmed only Oculus is checked.
- OpenXR Project Settings: Confirmed Meta Quest Support feature is enabled and Oculus Touch Controller Profile and Oculus Hand Interaction Profile are added.
- Action: Ran "Project Validation" and fixed any reported issues.
- Result: No change.
- In Edit > Project Settings > XR Plug-in Management:
- Meta Project Setup Tool:
- Action: Used Meta > Tools > Project Setup Tool and applied all recommended fixes for both Standalone and Android.
- Result: No change.
Please let me know if more logs or screenshots are needed. I’m willing to test any fixes or alternate configurations to get the simulator running.
- Checked Dynamic Resolution Settings: