cancel
Showing results for 
Search instead for 
Did you mean: 

Wwise Unity Integration Error - WWISEROOT and WWISESDK paths

shplss
Honored Guest
Hi everyone,

I'm having a problem with the Wwise Unity Integration involving the new 3D Audio SDK from Oculus.

Basically I already copy the code from the OculusSpatializer.h to the right file and location, but now I'm having problems building the package to import into unity. I'm having problems with the Environment Variables WWISEROOT and WWISESDK, but after confirmation on the Windows Environmental Variables section, they are pointing to the right Wwise directories.

I'll attach some printscreens of the errors that I got. I tried both building it through the Command Line and Visual Studio 2015 and got the same error in both.

Does anyone have any idea of what it might be? Thanks in advance for all the help!
3 REPLIES 3

petergiokaris
Protege
Hi there,

Sorry to hear you're having troubles compiling. We will investigate further to see if we can help resolve this.

One thing I noticed from the first image you shared is that Version = '2014.1'. Should this be manually changed to match the version of Wwise you are compiling for (2015.1.4)? It's not clear if this will fix the issue 🙂
Peter Giokaris Senior Software Engineer

DaveDriggers
Adventurer
Hi, firstly i apologize - I'm currently out on medical leave so my assistance will be somewhat limited.

I also ran into that error with the Wwise Unity integration. If I remember correctly, I had to just make sure my WWISESDK var was pointing to the Wwise version that I was compiling the Unity plugin for. It's easy to get wires crossed if you have multiple wwise SDK versions on your machine.

If you still have problems building the plugin, i would suggest opening a support ticket with Audiokinetic (support@audiokinetic.com). The error/warning you're getting might actually be a bug 🙂

Cheers
-dave
dave driggers | audio programmer | Oculus VR

shplss
Honored Guest
Hi Peter and Dave,

First of all, thanks for the help!

Peter: I completely oversaw that line of code, but after changing it to the build that I have installed, still didn't work. I tried both '2015.1.4' and '2015.1.4 build 5497' and neither worked. Same error.

Dave: First of all, I hope you get well soon! I only have one SDK version of Wwise and the Environmental Variables are pointing for the root SDK folder inside the Wwise installation directory (WWISESDK) and also to the root directory itself (WWISEROOT).

The path I have on the Environmental Variables is the following:

WWISEROOT: C:\Program Files (x86)\Audiokinetic\Wwise v2015.1.4 build 5497\

WWISESDK: C:\Program Files (x86)\Audiokinetic\Wwise v2015.1.4 build 5497\SDK

Can it be something related with the fact that I'm running a 64-bit version of Windows and I need to change something else on the code? (probably not, but after trying so many things I'm trying to see if it's something not so obvious)

I don't know if this info helps you guys to help me ahah but yeah, if it doesn't, I'll follow Dave's advice and contact the support of Audiokinetic.

Thanks again for everything!

EDIT (09/02/16) - Adding more info:

... and in the Integrating the Oculus Spatializer section, where it mentions copying the code from OculusSpatializer.h - that goes in AkAudioDevice.cpp, at the bottom of FAkAudioDevice::EnsureInitialized() ...


Dave: you mentioned this in another post related with a similar issue, but I cannot find this file you mentioned here. To register the plug-in, the most appropriate place I found was in the AllPluginsRegistrationHelpers().

I attached some images of the place where I inserted the code from the OculusSpacializer.h and the BuildUtil.py edit I did related with the version of Wwise in question. The error that I keep having is still the same mentioned in the original post.