Skip to main content
Up and Coming
August 16, 2022

DllNotFoundException: AudioPluginOculusSpatializer issue

Hello everyone,

I get a DllNotFoundException: AudioPluginOculusSpatializer error when I press PLAY in unity.

Edit>Project Settings>Audio>Spatializer Plugin already set OculusSpatializer.
How can I solve this problem?

 

Oculus integration : V42
Unity : 2021.3.2f1

 

    This topic has been closed for replies.

    12 replies

    Participant
    August 22, 2022

    Same problem in multiple projects.. Also lose haptics as soon as this happens
    Can be windows 11 related or oculus driver. IDK.. Same project on win 10 with other person works just fine.

    After deleting library, reinstalling everything oculus, and trying, it did work on friday, but now on monday the error is back..

    Up and Coming
    August 23, 2022

    marald 

    I took the same project to my old computer to test (OS is WIn10).

    Using the same Unity and Oculus integration SDKs, the same error did not occur.

    Participant
    August 23, 2022

    AdamsCheng thanks for the feedback
    I already thought this was a windows 11 only bug.

    I've found a workaround by choosing Legacy/OVR driver in the oculus dropdown in Unity. Then the project  works without any errors, but isn't OpenXR compatible anymore. 

    So hopefully oculus / windows / Unity will fix this soon. As windows 11 is already more than a year old.

    Up and Coming
    October 21, 2022

    marald 

    Did you solve this problem? 
    I have a VIVE VR headset,too.

    So I installed VIVE SDK , Steam VR and Oculus in my PC.
    After removing the VIVE SDK and SteamVR, Unity did not show errors.

    For your reference.

    New Participant
    December 1, 2022

    I had the same issue in my Unity Editor on macOS (Apple Silicon). I could resolve the issue by setting to following configs on the AudioPluginOculusSpatializer.bundle file:

    Platform settings > Editor > OS: macOS and CPU: Intel 64-bit

    Up and Coming
    December 6, 2022

    kpprtDo you install Steam VR ? I had steam VR installed before and this problem happened.

    New Participant
    December 6, 2022

    I did not. Is SteamVR even available for macOS?

    Serendipity721
    New Participant
    August 13, 2023

    I solved the error reported by setting Project Settings-OpenXR-PlayModeOpenXRRuntime-Oculus OpenXR. My device is a Quest Pro connected via SteamVR with Unity version 2021.3.19. It would be good if it could give you some ideas 🙂

    Serendipity721
    New Participant
    August 14, 2023

    This doesn't seem to be a valid solution. Maybe you need to check if you have the Spatializer plugin installed.

    New Participant
    March 7, 2024

    On my side, after having this DllNotFoundException problem for a long time, I finally solved it by uninstalling "Vive Business Streaming" (need to close Unity before, so it's properly removed, and probably restart)