Adding Target Platform Plugins to Wwise Unity Projects

Add the Oculus Spatializer plugin after installing the Wwise Integration Package to your Unity projects.

Audiokinetic provides Wwise integration for Unity projects through the Wwise Integration Package, allowing Wwise to be used in Unity games (see Audiokinetic’s documentation here). Before you can add Wwise sound banks to your Unity scene that include Oculus spatialized audio, you must add the appropriate Oculus spatializer plugin to your Unity project.

Each Unity target platform (Android, macOS, x86, x86_64) has its own plugin you must add.

x86 Target Platform

  1. Navigate to the Oculus Spatializer Wwise download package folder that matches your version of Wwise.
  2. Copy \Win32\bin\plugins\OculusSpatializerWwise.dll to the {Unity Project}\Assets\Wwise\Deployment\Plugins\Windows\x86\DSP\ folder.

x86_64 Target Platform

  1. Navigate to the Oculus Spatializer Wwise download package folder that matches your version of Wwise.
  2. Copy \x64\bin\plugins\OculusSpatializerWwise.dll to the {Unity Project}\Assets\Wwise\Deployment\Plugins\Windows\x86_64\DSP\ folder.

macOS Target Platform

macOS target platform support is only available for Wwise 2016.

  1. Navigate to the Wwise2016/Mac folder in your Oculus Spatializer Wwise download package.
  2. Copy libOculusSpatializerWwise.dylib to the {Unity Project}/Assets/Wwise/Deployment/Plugins/Mac/DSP/ folder.

Android Target Platform

Android target platform support is only available for Wwise 2016.

  1. Navigate to the Wwise2016\Android folder in your Oculus Spatializer Wwise download package.
  2. Copy libOculusSpatializerWwise.so to the {Unity Project}\Assets\Wwise\Deployment\Plugins\Android\armeabi-v7a\DSP\ folder.

Wwise 2015

If you are using a Wwise 2015 version, you will need to rebuild the Wwise Unity Integration plugin.

You must have the Wwise SDK installed, and the corresponding version of the Unity integration (check that WWISEROOT and WWISESDK environment variables are correct).

Python 2.7 or 3.x is required, and your PATH environment variable must include the installation location.

If you are building the Wwise integration source in Visual Studio 2013, you may need to modify the Library Directories paths in the AkSoundEngine project for each build config from _vc100 to _vc120.

To install:

  1. Download the Wwise Unity Integration and source code for the relevant Wwise version (two separate downloads) from the Audiokinetic website.
  2. In the Unity Editor, select Assets > Import > Custom Package and select the Wwise Integration to import it into your Unity project.
  3. Save the project and close Unity.
  4. Open the Wwise Unity Integration help doc in <UnityProj>\Assets\Wwise\Documentation.
    1. Follow the instructions in the section Build the Integration code.
    2. Follow the instructions in the section Adding Licensed Plugins.
  5. Add the contents OculusSpatializer.h from the Oculus Audio SDK following the call to AK::SoundEngine::RegisterAllBuiltInPlugins().
  6. Recompile the lib and deploy to Unity Assets\Plugins as described in Adding Licensed Plugins.