Skip to main content
New Participant
October 14, 2023

Does Meta XR Simulator support Mac OS?

I've installed and activated the plugin, but it never launches. Running Sonoma on Apple Silicon if that makes a difference.

    This topic has been closed for replies.

    33 replies

    New Participant
    November 2, 2023

    800B market cap but can't get staff to respond to a message.

    New Participant
    February 10, 2024

    seriously!

    New Participant
    November 6, 2023

    Would love to have those tools on Mac ( M Series)! Hope to get an update soon

    New Participant
    February 3, 2024

    I'm having this problem too:

    1. After clicking "Meta XR Simulator > Activate", The simulator itself does not show up when I click play. I just get the Unity Gameplay mode.
    2. When I try to Launch a synthetic environment server, I get these errors:

     

    ApplicationName='netstat.exe', CommandLine='-a -n -o', CurrentDirectory='', Native error= Cannot find the specified file
    UnityEngine.Debug:LogError (object)
    ProcessPort:GetProcessesByPort (string) (at ./Library/PackageCache/com.meta.xr.simulator@60.0.0/Editor/ProcessPort.cs:126)
    MetaXRSimulatorEnabler:GetProcessStatusFromPort (string) (at ./Library/PackageCache/com.meta.xr.simulator@60.0.0/Editor/MetaXRSimulatorEnabler.cs:329)
    MetaXRSimulatorEnabler:LaunchEnvironment (string) (at ./Library/PackageCache/com.meta.xr.simulator@60.0.0/Editor/MetaXRSimulatorEnabler.cs:236)
    MetaXRSimulatorEnabler:LaunchGameRoom () (at ./Library/PackageCache/com.meta.xr.simulator@60.0.0/Editor/MetaXRSimulatorEnabler.cs:258)​

     

    Win32Exception: Access denied
    System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) (at <91368e029aa94d58b00b248ac7c83368>:0)
    System.Diagnostics.Process.Start () (at <91368e029aa94d58b00b248ac7c83368>:0)
    (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
    MetaXRSimulatorEnabler.LaunchProcess (System.String binaryPath, System.String arguments, System.String logContext) (at ./Library/PackageCache/com.meta.xr.simulator@60.0.0/Editor/MetaXRSimulatorEnabler.cs:345)
    MetaXRSimulatorEnabler.LaunchEnvironment (System.String environmentName) (at ./Library/PackageCache/com.meta.xr.simulator@60.0.0/Editor/MetaXRSimulatorEnabler.cs:252)
    MetaXRSimulatorEnabler.LaunchGameRoom () (at ./Library/PackageCache/com.meta.xr.simulator@60.0.0/Editor/MetaXRSimulatorEnabler.cs:258)
    ​


    Seeing a "Win32" error makes me think this does not work on Mac OS - Meta should definitely make it clear what kinds of platforms are supported with the XR simulator.

     

    Troubleshooting I've tried:

    The XR Simulator Troubleshooting section recommends one thing:

    You may want to check the Standalone tab of XR Plugin Management settings, and enable the same XR Provider that is enabled in the Android tab

    I don't know what the "Standalone" tab is - I only have tabs Windows,Mac,Linux, Android, and Dedicated Server. I made sure that Oculus has been checked on all of them. I also went through the trouble of checking Open XR on Windows,Mac,Linux - no success.

     

    Anton111111
    Inspiring
    February 5, 2024

    Meta XR Simulator currently only supports Windows at this time.

    New Participant
    June 26, 2024

    Mac support was added in the latest version

    JakeMaier
    Up and Coming
    August 8, 2024

    Has anyone gotten the Mac-supported Meta XR Simulator to work? I have been trying to get it to work for a while, but the Simulator window won't even open in the editor. I have tried changing the XR Plugin, editing the active runtime json file, and correcting the file path stored in the environment variable XR_RUNTIME_JSON. I have also followed all of the Mac installation instructions from the GitHub link that Meta recommends for Mac users. Additionally, I constantly run into an error stating that the netstat.exe file cannot be found when trying to run the simulator, but netstat.exe is a Windows-specific file. I'm having a hard time believing the simulator is intended to be this difficult to setup. I must be missing something, so if anyone has figured it out please let me know.

    New Participant
    August 9, 2024

    That is surprising to hear. I will reach out in private to gather more information, I may be able to help&debug your case

    JakeMaier
    Up and Coming
    August 9, 2024

    To everyone still looking for a solution: With the help of this kind Meta employee I have gotten Meta XR Simulator working on Mac. Here are things you MUST do:

    - Install the simulator and Vulkan sdk through Homebrew and make sure to do the post-installation command

    - Update OpenXR to experimental version!!!!!!! It is version 1.11.1-exp.1 (this was what finally got it working)

    - Make sure OpenXR is ticked as plugin provider for PC, Mac, Linux tab in XR Plugin Management settings

    Other things that I did, not sure if they were part of the solution:

    - Set "Play Mode OpenXR Runtime" (in OpenXR plugin management settings) to the directory of your Homebrew installed XR Simulator -> meta_openxr_simulator.json

    - Deleting Meta XR Simulator package(from the Meta XR All-In-One package) from my project entirely

    Huge shoutout matej001  for helping me figure this out

    New Participant
    August 23, 2024

    Thanks Jake. You have really solved the problem. OpenXR is not installing version 1.11.1-exp.1 on default. So I have changed it on my manifest.json to "1.11.1-exp.1". And voila everything works.

    New Participant
    August 31, 2024

    I have the exact same problem. I have done everything you said. But I'm still getting the error: 

    Failed to load openxr runtime loader.
    UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad () (at ./Library/PackageCache/com.unity.xr.management@4.4.0/Runtime/XRGeneralSettings.cs:148)

    JakeMaier
    Up and Coming
    September 5, 2024

    If you have done everything I listed in my previous post and are still getting this error, I am not completely sure what the problem is. The code that this error points to is the AttemptInitializeXRSDKOnLoad() function in the XR Management General Settings, which could go wrong for a number of reasons, and some more information would be needed to diagnose that. I believe that the overarching error has a lot to do with the XR Loader however, so there are a couple things you can try. I'm not sure if these will work and more information is needed but these options are just to rule some things out. First, try setting the "Play Mode OpenXR Runtime" to the directory of your meta_openxr_simulator.json file. Additionally, within meta_openxr_simulator.json change the "library_path" variable to the file path of your SIMULATOR.so file from Homebrew. If those don't work, try setting up the simulator on a brand new project, following the instructions I gave previously, to see if you can reproduce the error.

    New Participant
    October 17, 2024

    Thank you JakeMaier and matej001 . I can run the simulator and the controls seem to work. I dont get all the graphics in the scene though (i.e. cant see some of the characters specially the ones with grab enabled).

    But overall, thank you both as this saves me a lot of time and frustrations.