Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Huge problems with Unity 4.3.4 (Windows) and Wwise (v 2013.2.4)

0 votes

Hey all.

I'm having really crazy problems with Unity integration in my project.

I have imported the unity package file (2013.2.4) onto my Windows editor, and no matter what I do I keep getting the same errors.

Assets/Wwise/Deployment/API/Generated/Common/AkDeviceSettings.cs(102,10): error CS0246: The type or namespace name `AkThreadProperties' could not be found. Are you missing a using directive or an assembly reference?
 

and

 

Assets/Wwise/Deployment/API/Generated/Common/AkInitSettings.cs(167,10): error CS0246: The type or namespace name `AkSinkType' could not be found. Are you missing a using directive or an assembly reference?

 

When I go into these files, everything is completely commented out. As soon as I fix that (by changing the opening line) this brings up over 100 more errors.

 

I've spent a lot of hours on this and am completely baffled. The more confusing thing is that if I create a new project with the Unity Integration Demo, it works fine.

 

Help?

 

Thanks a ton.
 

asked Feb 24, 2014 in General Discussion by Alex G. (140 points)

1 Answer

+1 vote
 
Best answer
Hi Alex,

This is because your active platform in Unity (under Build Settings) does not match an installed Wwise integration package. To resolve this, either switch your current platforms to one for which you have the Wwise Integration installed, or install the proper Wwise Integration package.

 

Thanks,

Ben
answered Feb 24, 2014 by Benoit S. (Audiokinetic) (16,020 points)
selected Feb 24, 2014 by Alex G.
Thank you so much!

This has worked. I had forgotten that I created a build to run on a Mac, and hadn't considered that not having switched the project back to a PC build would be the solution.

Thank you again.
I have the exact same problem, I can't resolve it. I use the integration package for iOS. And the active platform selected in Unity is iOS.
Even though the platform matches I keeps getting these errors.
Is there something I missed ?
...