Forum Discussion

mysticflute's avatar
mysticflute
Honored Guest
23 days ago

Meta XR Audio Plugin + FMOD + Unity

I'm trying to get the Meta XR Audio plugin working, following along with the guide at https://developers.meta.com/horizon/documentation/unity/meta-xr-audio-sdk-fmod-req-setup/ 

I've been able to get it working in FMOD Studio itself, but I'm having issues with the Unity setup. The Meta docs state:

For any Unity Project you hope integrate the Meta plugin into, you must also copy the Meta libraries into the Unity project.

So I've copied the files such as `libMetaXRAudioFMOD.so`, `MetaXRAudioFMOD.dll` and `MetaXRAudioFMOD.bundle` from the meta package to the respective folders in my Unity project (e.g., Assets/Plugins/FMOD/platforms/mac/lib).

It's not working though on my Mac, as FMOD is not able to read the .bundle file. Specifically it says ERR_FILE_NOTFOUND when it tries to load the file, although I've verified it's at the right location.

I posted about it on the FMOD forums and the support there said that the `.bundle` file is not code signed, and it might need to be in order to load. I tried Steam Audio library, and I noticed their .bundle file is code signed and it loads fine. Perhaps this is the issue with the Meta package, or perhaps it's another issue. Either way FMOD support suggested that the problem is with the Meta package.

I would appreciate if someone from Meta could take a look at this, and if anyone else has successfully gotten Meta XR Audio SDK + FMOD + Unity working.

2 Replies

  • h.taylor's avatar
    h.taylor
    Community Manager

    Hey mysticflute, 

    I'm happy to do some digging to figure out what might be causing the 404 you're seeing. First, which Unity version are you working with? The method for integrating the FMOD and Meta XR Audio SDK are different based on your Unity version. 

    Also, out of curiosity, had you already incorporated the Meta XR Audio SDK package into your Unity project prior to integrating FMOD? If so, you'll need to uninstall the package before integrating FMOD into your project. 

  • Thanks! Here are my version numbers:

    • Unity v6000.2.6f2
    • Meta XR Audio SDK FMOD 81.0
    • FMOD Studio v2.03.09
    • FMOD for Unity v2.03.10

     

    I haven't added the package from the Unity asset store, and this is working on a fresh new project using the basic Universal 3D template.

→ 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