menu
Wwise
arrow_drop_down
Strata
arrow_drop_down
Solutions
arrow_drop_down
Apprendre
arrow_drop_down
Communauté
arrow_drop_down
Documentation
arrow_drop_down
Aide
arrow_drop_down
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
This error occur when a API function requiring a Game Object ID is called with an unrecognized ID. The name of the function is provided, for reference against the game code. If the Game Object was known at some point in the past, it will be written as "Dead Game Object", with the old name of the object displayed in the "Game Object" column. The lifetime of a Game Object starts with
AK::SoundEngine::RegisterGameObj
and stops with
AK::SoundEngine::UnregisterGameObj
. If the function call was made before or after those calls, it will result in this error.
Note that it is legal to have a call sequence such as:
AK::SoundEngine::RegisterGameObj(MyGameObjID);
AK::SoundEngine::PostEvent("Play_MySound", MyGameObjID);
AK::SoundEngine::UnregisterGameObj(MyGameObjID);
info | Unity Users |
---|---|
The lifetime of a Wwise Game Object follows the lifetime of the
|
Probable causes:
The Game Object was never registered before the function call.
The Game Object was unregistered prior to the function call.
The Game Object ID is corrupted.
Unity Users: The "Script Execution Order" may be wrong, causing one of the situations above.
Recommended resolution steps:
Enable "API Calls" in the Profiler Settings. Then reproduce your scenario. In the Capture Log, the faulty call, with all its parameters, should appear just before the error.
Verify the lifetime of the Game Object with the Game Object Explorer view.
Change the order of function calls to be between the related
RegisterGameObj
and
UnregisterGameObj
.
Unity Users: Check the "Script Execution Order" in Unity.
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'AideEnregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise