So for the last month of jumping back to my project I was trying to debug why Unity freezes after an event stops. It turns out it only freezes in the editor, builds work perfectly. I was trying to pin down the problem with windows’ event log and process viewer with no clues. I’ve searched through my code for every single possible problem I’m aware of and found nothing. There are no leaks, since the build behaves properly.
So the details and what I could find:
- Live Update is off. The editor freeze happens even when FMOD Studio is off.
- No version mismatches (that would make the build also not work). I used FMOD 2.03.07, even after updating to 2.03.08 nothing changed. Unity version is 6000.0.35f1
- Backend is IL2CPP.
- All FMOD settings sound.
- Played event is like the simplest possible one.
As a last ditch effort I tried to get help from ChatGPT and it was spitting various stuff like “there is this setting that was formerly in the settings, now you can only change it via code” which doesn’t tell me anything about the issue.
One simple detail I can give is that the freeze is so instant that even debug console logs in unity don’t stand a chance to log whether the event is stopping (I got a log for this like only once per tens of attempts)