Skip to main content
Participant
August 22, 2022

DLL not found spatializer in Unity 2021 with windows 11

Since a while, I constantly get the error:
DllNotFoundException: AudioPluginOculusSpatializer assembly:<unknown assembly> type:<unknown type> member:(null)
ONSPAudioSource.OnBeforeSceneLoadRuntimeMethod () (at Assets/Oculus/Spatializer/scripts/ONSPAudioSource.cs:41)

In unity when running the app in editor with link mode active.
After this dll failes to load, every dll fails to load..

Tried everything, older projects, other oculus integration, new install.. sometimes it's gone for a few tries, but it keeps returning and stopping all development.


Please oculus, or unity or windows or whoever is causing this.. Please fix this bug ASAP!

This topic has been closed for replies.

2 replies

maraldAuthor
Participant
August 23, 2022

Choosing legacy/OVR instead of OpenXR seems to avoid the errors for now in Unity development.
But OVR lint still asks for OpenXR, so hopefully, it will be fixed soon. Otherwise stuff like LIV can't even be used.

maraldAuthor
Participant
January 9, 2023

When using Unity OpenXr (disable Oculus in XR project settings but leave all the Oculus integration installed) and disable OCulus XR feature, the problem is gone and you can use Open XR.