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.

+2 votes
Hello!

I have been trying to integrate Wwise on Unity's tutorial game, "Nightmares". So far everything is working great, but I have just one problem. After some point (not since the beginning), the sound bank that I have attached to the player is failing to load after he dies and the game resets. I get the error "Bank Player failed to load(Ak_BankAlreadyLoaded)" message. It is a bank containing the player's footsteps,heartbeat etc.

 When I disable the sound bank on the player, I get error warnings whenever he makes a step or tries to call any sound event from the bank, but when he dies and the game resets, I don't get any messages. Like the game is not even trying to call these events. Any ideas?

Thanks in advance.
in General Discussion by Vasilis K. (120 points)

Updating this old thread, since I am seeing something similar.  It used to work before I moved the project to a new computer, and now it doesnt.

I get this warning, when I stop Play mode.  No sounds play during Play Mode (and no warnings or errors):

WwiseUnity: Bank Master_Bank failed to load (AK_BankAlreadyLoaded)

Then a number of my objects report this error:

Wwise: Unknown listener game object ID. Make sure the game object is registered before using it and do not use it once it was unregistered. (GameObject: Camera (UnityEngine.GameObject)) (Instance ID: 64266)

The events that are selected are linked through the Event objects, the project refreshes fine, says its connected, the Generate SoundBanks works cleanly (no warnings or errors), and I can play the sounds in the Events under Wwise Authoring in the Wwise Picker, but in the actual game.

I have the WwiseGlobal AkBank load on Awake.  If I change it to Start instead of Awake, I lose the AK_BankAlreadyLoaded warning, but the others still give errors, and still no sounds.  Awake is the correct event regardless.

If I find a fix I'll post it.  Maybe related and useful to someone else who searches in the future.

BTW, I feel like the Errors of the "Unknown Game Object" may be timing issues with playing the game in the editor, after a tear down of the objects, so they are not "unregistered" and being used for another frame's processing.  Not sure.  But I think the root of the problem is the WwiseGlobal  AkBank isnt properly initializing for some reason.

Please sign-in or register to answer this question.

...