Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

How to solve Wwise Android Unity threading FMOD crash please ?

0 votes
Using UNity5.3, Latest Wwise version. Freshly integrated.

Got Android sound bank exporting and into Unity ok, all sounds play just fine in Unity.

App built and run fine before adding Wwise.

Added Wwise, now make android build and app immediately crashes on launch...  seemingly a sound threading issue.... any ideas how to fix this please, help appreciated?

02-03 11:40:25.132: E/Unity(12031): Error: Cannot create FMOD::Sound instance for resource sharedassets0.resource, (An invalid object handle was used. )
02-03 11:40:25.132: E/Unity(12031):  
02-03 11:40:25.132: E/Unity(12031): (Filename:  Line: 858)
02-03 11:40:25.132: E/Unity(12031): Function SoundHandle::Instance::~Instance() may only be called from main thread!
02-03 11:40:25.132: E/Unity(12031):  
02-03 11:40:25.132: E/Unity(12031): (Filename:  Line: 25)

 

Update... Solved the issue...

Make sure you dont have any old UNity sound stuff in your scenes or scripts...  Wwise auto disables unity sound, which causes this fmod crash on droid... even if you aren't playing any unity sounds. Remove the unity stuff, and/or turn the option back on, and droid will no longer crash.
asked Feb 3, 2016 in General Discussion by Jon H. (160 points)

Please sign-in or register to answer this question.

...