Version
Wwise Unity Integration Documentation
|
When running in the Unity Editor, the SoundBanks are taken directly from the Wwise project's GeneratedSoundBanks folder. This helps in faster prototyping.
When packaging your game, Unity does not have a way to discriminate between assets that are built specifically for one platform or another. It packages all the SoundBanks located under StreamingAssets (…\<UnityProjectName>\Assets\StreamingAssets\Audio\GeneratedSoundBanks
). Wwise, on the other hand, generates different SoundBanks for each platform in subfolders. To avoid packaging the SoundBanks for all platforms with your game, you should keep the Enable copying of soundbanks at pre-Build step option enabled found under Edit > Project Settings > Wwise Editor. This will ensure to include only the SoundBanks for the platforms to be built.
Alternatively, advanced Unity developers could use a BuildPlayerPipeline script.
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