Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

+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.
dans General Discussion par 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.

...