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.

cannot build in unity WWISE error CS0246

+1 vote
Hi All,

i got this series of errors when trying to build my project:

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

Assets/Wwise/Deployment/API/Generated/Common/AkInitializationSettings.cs(83,10): error CS0246: The type or namespace name `AkPlatformInitSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Generated/Common/AkInitializationSettings.cs(102,10): error CS0246: The type or namespace name `AkCommunicationSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Generated/Common/AkInitializationSettings.cs(110,10): error CS0246: The type or namespace name `AkUnityPlatformSpecificSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs(43,17): error CS0246: The type or namespace name `AkCommunicationSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs(302,29): error CS0246: The type or namespace name `AkPlatformInitSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs(344,29): error CS0246: The type or namespace name `AkUnityPlatformSpecificSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs(408,29): error CS0246: The type or namespace name `AkPlatformInitSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs(433,29): error CS0246: The type or namespace name `AkUnityPlatformSpecificSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs(476,29): error CS0246: The type or namespace name `AkCommunicationSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs(564,18): error CS0246: The type or namespace name `AkCommunicationSettings' could not be found. Are you missing an assembly reference?Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs(564,18): error CS0246: The type or namespace name `AkCommunicationSettings' could not be found. Are you missing an assembly reference?UnityEditor.BuildPlayerWindow+BuildMethodException: 13 errors
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:182
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:89
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

 

The sounds in game (by editor) works fine and the integration it's fine. The only problem is the build. Unity2018.1.1f1 --> Wwise Integration 2018.1.5.6835.1288

Anyone got an idea of this?

Thanks
asked Feb 14, 2019 in Feature Requests by Loris C. (180 points)
I'm trying to build on linux for Android and get the same thing. iOS is fine

1 Answer

0 votes
I have the same issue here ! I'm using Wwise 2019.2.0 and Unity 2019.3.0f6 and trying to build for Android.
I'll update on this issue, if I have anything new.
answered Feb 21, 2020 by Gago (150 points)
Were you building it on Ubuntu/Windows/OSX?
...