We're getting an issue where our app crashes on quit. The error log shows: "AudioPluginOculusSpatializer.dll caused an Access Violation (0xc0000005) in module AudioPluginOculusSpatializer.dll" (full error log attached)
Have tried removing and re-importing the Audio Spacializer plugin with a freshly downloaded copy from the oculus site.
Over the course of the project, the problem has been intermittently rearing its head and then mysteriously going away again, but currently every build we do is affected.
Is there some clean way of shutting down the spacializer plugin that we should be doing on quit?
I've had crashes with the spatializer. I think it happens when you have audiosources that don't have the output mixer specified. Or have them set up to a Mixer that doesn't have the OculusSpatializerReflection effect.
We're investigating this. In the meantime, you may have better luck with the new Oculus Native Spatializer Plugin. That's the architecture we plan to support long-term. See https://developer.oculus.com/downloads/audio/1.0.3/Oculus_Audio_SDK_Plugins.
To make it crash, just do alt-f4 a couple of seconds after the app starting. It will reliably crash for us at this point.
We're just using the Unity plugin in the editor, we're not explicitly making any api calls. That said, the stack trace in the output_log.txt file does mention GetAmbisonicSpeakerPosition: