Setup the Oculus Audio Profiler
End-of-Life Notice for Oculus Spatializer Plugin
This documentation is no longer being updated and is subject for removal.
This topic describes how to install and use the Oculus Audio Profiler tool.
Download the
Oculus Audio Profiler for Windows package from the
Audio Packages page.
After downloading the package, extract the contents of the .zip file to the desired location.
Activate Profiling in Your App
We ship the Oculus Spatializer with the analytics server turned off. Before you can profile your app’s audio, you must activate the Oculus Spatializer analytics server in your app.
Oculus Spatializer Plugins in Unity (Native, FMOD, Wwise)
- Create an empty game object.
- Add the appropriate script component to the game object:

* For Unity Native Plugin, add `ONSPProfiler`.
* For FMOD Unity Plugin, add `OculusSpatializerFMOD`.
* For Wwise Unity Plugin, add `OculusSpatializerWwise`. 3. Select the **Profiler Enabled** check box. 4. (Optional) Change the network port if the default port of 2121 is not suitable for your use case.
Oculus Spatializer Plugin for Wwise
- Call
OSP_Wwise_SetProfilerEnabled(bool enabled)
; - (Optional) Change the network port if the default port of 2121 is not suitable for your use case by calling
OSP_Wwise_SetProfilerPort(int port)
Oculus Spatializer Plugin for FMOD
- Call
OSP_FMOD_SetProfilerEnabled(bool enabled)
; - (Optional) Change the network port if the default port of 2121 is not suitable for your use case by calling
OSP_FMOD_SetProfilerPort(int port)
;
Oculus Spatializer Plugin for Native C/C++ Apps
- Call
ovrAudio_SetProfilerEnabled(ovrAudioContext Context, int enabled);
- (Optional) Change the network port if the default port of 2121 is not suitable for your use case by calling
ovrAudio_SetProfilerPort(ovrAudioContext Context, int portNumber);