Community Q&A

Where Wwise users help each other out!

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

Generate Selected bank make Unity freeze when open project

0 votes
I make some test and is sure that hit Generate Selected button in Wwise make Unity freeze when open our unity project, with version of Wwise 2019.16.7110 to Unity 2018.3.10 and Wwise 2019.17.7135 to Unity 2019.3, seems any thing in streaminassets folder even the generated id header file make this happen, do I possibly miss anything?

OS is win.7
asked Feb 5, 2020 in General Discussion by ZongTai Y. (140 points)

2 Answers

0 votes

Hey ZongTai, 

If you generate SoundBanks from Wwise, Unity should only freeze for a short while until the new files are registered. 
I would suspect that this is a Unity issue, rather than a Wwise issue. 

Could you try deleting the Library folder and then reopen Unity.
Otherwise, take a look in the Unity editor log, to see what happened just up to freezing. 

Hope this helps!

answered Feb 5, 2020 by Mads Maretty S. (Audiokinetic) (10,290 points)
0 votes
After some try I found it actually caused by AkInitializer, if I add this component manually it freeze, but if I use VS to make a breakpoint at Awake then step lots of its process and stop tracking it not freeze, seems it has some heavy process make Unity think itself is not responding,

Here are the actual situations
1. Even only Wwise PJ has banks it happen
2. Cause by AkInitializer execute in editor mode when add component(or wwise auto add global object, which contains the initializer)
3. Before adding it, make a breakpoint at Awake and use VS to step it, after some process passes it not freeze
answered Feb 5, 2020 by ZongTai Y. (140 points)
edited Feb 6, 2020 by ZongTai Y.