Hi, me and my team are experiencing a crash in our game (in editor, and in our release builds)
Unity crashes to desktop without any error message or log, however windows event viewer shows this:
Faulting application name: Unity.exe, version: 2018.3.12.64867, time stamp: 0x5ca7b142 Faulting module name: resonanceaudio.dll, version: 0.0.0.0, time stamp: 0x5be28099 Exception code: 0xc0000409 Fault offset: 0x00000000000638b1 Faulting process id: 0x19d0 Faulting application start time: 0x01d61ed45fc67018 Faulting application path: C:\Program Files\Unity\Hub\Editor\2018.3.12f1\Editor\Unity.exe Faulting module path: C:\Users\####\Documents\####\Assets\Plugins\FMOD\lib\win\X86_64\resonanceaudio.dll Report Id: 72b2e663-eb78-4ac8-8ec6-ca69716879d6 Faulting package full name: Faulting package-relative application ID:
Sure enough after removing resonance audio from all our events it has fixed the issue, and the game runs much more stable.
The timing of this crash is mostly random, but I found that I can sometimes cause it to happen if I just create many sounds, so I’ve been doing that to debug the cause but have had no luck so far.
The strange thing is, after I’ve spammed sounds and they have all been released, unity (and the FMOD profiler) show the dsp to be at 100%, whereas without resonanceaudio the dsp goes back down to 2-3% after the events have been released.
Some other info, we’re using:
Fmod 2.00.08 (integration & FMOD studio)
VRTK 3.3 with SteamVR
Most of us are using Windows 10, and oculus rift CV1/ HTC vive.
We’ve had a bunch of us developers experience the crash (but not all), and a bunch of our users as well.
I’ve seen a few topics mentioning a similar issue and none seem to have been fully resolved. We’re pretty much all out of ideas at this point and are looking into ditching resonance audio and finding another 3rd party solution, but I thought I would post here as a last resort.