justin
New Member
Posts: 20
Posts: 20
|
Post by justin on Dec 7, 2020 5:38:31 GMT
Hi,
I'm trying to hook up Oculus Audio Spatialization into my project with Master Audio. I unpacked and imported the contents of the MA_Oculus package (Plugins/Android/DarkTonic/MasterAudio/3rd Party Plugin Integration) and when it unpacked (just 1 file. OculusAdudioHelper.cs), I'm getting a compile error:
Assets\Plugins\DarkTonic\MasterAudio\Scripts\Utility\OculusAudioHelper.cs(22,43): error CS0246: The type or namespace name 'ONSPAudioSource' could not be found (are you missing a using directive or an assembly reference?)
I see that the ONSPaudioSource class is defined in Assets\Oculus\Spatializer\scripts\ONSPAudioSource.cs, but seems your script cannot find it. Do you know why this is and how to fix it?
Thank you.
|
|
|
Post by DarkTonic Dev on Dec 7, 2020 16:24:45 GMT
Ah, well that would be because they're putting their scripts in the wrong place. Scripts that don't change go in Assets/Plugins, not Assets. Go ahead and drag the entire scripts folder into Assets/Plugins, then rename it "Oculus". You can find more details on the Integration page of the docs here: www.dtdevtools.com/docs/masteraudio/PluginIntegration.htm
|
|
justin
New Member
Posts: 20
Posts: 20
|
Post by justin on Dec 8, 2020 6:19:15 GMT
I just moved the entire Oculus folder into the plugins and that worked for us. Thanks!
|
|
|
Post by DarkTonic Dev on Dec 8, 2020 17:01:56 GMT
No problem.
|
|