版本

menu_open
Wwise Unity Integration Documentation
Using Auto-Defined SoundBanks in Unity

In order to use Auto-defined SoundBanks in Unity, you must first enable them in Wwise Authoring. For details, see Automatically Defining SoundBanks. You must also ensure that the following settings are selected in the Wwise Project Settings:

  • "Object GUID" and "Object Path" under Include in Metadata.
  • "Generate JSON Metadata" under File Types.

Manual Configuration

When you select an event for a Wwise Event reference, the "Is In User-Defined SoundBank" checkbox appears. Leave it cleared if you are using an event contained in an auto-defined SoundBank.

If you are using an event contained in a user-defined SoundBank, select the box, add an AkBank Component to the GameObject, and select the user-defined SoundBank that contains the effect.

When using the Wwise Addressables package, the checkbox is selected automatically. You still have to add an AkBank Component when using a user-defined Soundbank.

For more details about the differences between auto-defined and user-defined SoundBanks, see Understanding Auto-Defined and User-Defined SoundBanks.

Required Subfolder Settings

When using the manual integration, you must ensure that the "Use Sub Folder For Generated Files" setting in Unity matches the "Create sub-folders for generated files" setting in Wwise Authoring.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅