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.

Unity Integration - Cant add events to sound bank.

0 votes
I'n my unity project, I have several events that work without problems.

These events were already in the wwise project when i imported the integration.

 

Whenever i add new events in the authoring tool & update the soundbank. I get "Wwise: Event ID not found:" when trying to post the new events.

All my changes show up in the WWise Picker & also in the bank files and the converted header file. The Ids are there.

So why can't i post them?

 

btw. I'm using the 2014.1 beta on mac
asked Sep 24, 2014 in General Discussion by Milan G. (190 points)
edited Sep 25, 2014 by Bernard R. (Audiokinetic)

1 Answer

+1 vote
Did you add the new events to your Soundbank before generating/updating it ?

 

To achieve this you have to perform the following steps in the Authoring tool:

- In the Project Explorer, navigate to the " Events " tab.

- Open the Soundbank Manager (by navigating to Views > Soundbank Manager or simply using keyboard shortcut Shift+B)

- Double click on the Soundbank you want to populate. It will open the Soundbank Editor.

- Drag and Drop selected events from the Event tab to the Soundbank Editor.

 

To help you work more efficiently, Wwise allows you to drag complete structures, work units, and folders, from the Project Explorer into the SoundBank Editor. If these project elements contain child objects, they are automatically added to the SoundBank as well, although they are only displayed on the Edit tab.

 
If you Generate or Update your Soundbank, you should now be able to successfully post your newly created events in your Unity Project.

Let me know if this helps !
answered Sep 24, 2014 by Fabien B. (Audiokinetic) (12,860 points)
edited Sep 24, 2014 by Fabien B. (Audiokinetic)
Ok.
So all my events have been dragged into the sound bank editor.
They show up in the edit tab.
I set sound bank path to the corresponding path in my unity project & confirmed the bank gets updated there.

all events also show up in the Wwise Picker.

When i open the text file with the same name as my bank, the events & their ID's show up there as well.

But for the newly added events i get event not found exception.


(It's Event Dove_Play, that doesn't work)
http://www.imagebam.com/image/b4b4e5353586778
http://www.imagebam.com/image/840bea353586785
http://www.imagebam.com/image/e66988353586787
http://www.imagebam.com/image/099bfb353586793

UPDATE:
It seems to even include banks - I created a new bank and tried to load it in Unity -> I get Bank Failed to load, cannot open bank.

FIXED:
I copied all of my stuff (except for banks) from the WWISE Project into a new WWISE Project, deinstalled the WWISE Integration from my Unity Project & reinstalled it, using the new WWISE Project. Now I can add events again.
No idea what went wrong, though.
Hey happy to hear you got your issue fixed !

You said before that your issue showed up after migrating from 2013 Integration to 2014.1, can you please tell me which 2013 Integration you used ? Also, can you tell me which version of Unity you create your project with ?

Thanks !
The version I started the project in was Wwise_Authoring_Mac_v2013.2-2.9_Build4872.

I used Unity Beta 4.6.b17
Maybe that screwed it up too?
I've set up my new Unity project in 4.5 just to be safe.

There are also still some strange behaviours in the Integration, like not being able to drag & drop fromwwise picker sometimes & an exception when picking banks or events from the inspector, but I guess you are aware of those?

InvalidOperationException: Operation is not valid due to the current state of the object
System.Collections.Stack.Peek () (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections/Stack.cs:321)
Yes, these have actually been fixed in the upcomming 2014.1 Integration, which will be available at the same time as Wwise 2014.1. Thanks for reporting that!
...