Forum Discussion
dtsiknis
6 years agoExplorer
Oculus spatializer tries to initialize settings on any platform
On Oculus Unity Integration v1.43, ONSPAudioSource.cs includes a static method that gets called as a RuntimeInitializeOnLoadMethod and calls platform specific code e.g. OSP_SetGlobalVoiceLimit(ONSPSettings.Instance.voiceLimit)
Since this is a runtime init method, it will get called just by the fact that it is present in the project, even if you are on a platform that is not using the spatializer. Please add some preprocessor platform definitions around the contents of this method to handle this.
Since this is a runtime init method, it will get called just by the fact that it is present in the project, even if you are on a platform that is not using the spatializer. Please add some preprocessor platform definitions around the contents of this method to handle this.
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago
- 2 years ago