0
0

Every now and then our game crashes on shutdown – always on the EventSystem::release call. I’ve been having this issue for weeks and can’t figure out what I’m doing wrong.

Please; check out [url=http://pastebin.com/f1df4657e:bsdk6l1f]my FMOD setup and taredown code[/url:bsdk6l1f] (pastebin, for proper syntax higlight), and tell me if you see anything out of whack.

In case it matters: we’re only ever playing events, and they’re (currently) all loaded by means of EventSystem::getEvent. That is: we’re not using eventgroups or System::createSound.

A few of them are looping, a lot of them are oneshots. All events are stopped (in cleanup()) through a call to the master EventCategory::stopAllEvents.

  • You must to post comments
0
0

Can you try putting a sleep (say 400ms or so) just before the call to eventsystem::release? we’re currently investigating an issue which might be related to this.

  • You must to post comments
0
0

Thanks for noting this post. :)

I’ve had a 100ms sleep just prior to the release-call for three weeks (to no avail, needless to say). I’ve just commited the change (upped to half a second) – I’ll let you know how it works out.

  • You must to post comments
0
0

No dice. :(

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.