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.

0 votes

I'm trying to integrate Wwise into a Unity 2017.1.0f1 project, but it consistantly fails and brings up the following script compiling errors:

 

  1. A script compilation error occurred during the execution in Unity. Please click Open Log to review the Unity log.

  2. Assets/Wwise/Editor/WwiseMenu/Common/AkExampleAppBuilderBase.cs(109,45): error CS0619: `UnityEditor.BuildTarget.iPhone' is obsolete: `Use iOS instead (UnityUpgradable) -> iOS'

  3. Assets/Wwise/Editor/WwiseMenu/Common/AkExampleAppBuilderBase.cs(142,45): error CS0619: `UnityEditor.BuildTarget.iPhone' is obsolete: `Use iOS instead (UnityUpgradable) -> iOS'

  4. Assets/Wwise/Editor/WwiseSetupWizard/AkWwisePostImportCallbackSetup.cs(217,57): error CS1061: Type `AkWwiseProjectData' does not contain a definition for `CurrentPluginConfig' and no extension method `CurrentPluginConfig' of type `AkWwiseProjectData' could be found. Are you missing an assembly reference?

  5. Assets/Wwise/Editor/WwiseSetupWizard/AkWwisePostImportCallbackSetup.cs(219,33): error CS1061: Type `AkWwiseProjectData' does not contain a definition for `CurrentPluginConfig' and no extension method `CurrentPluginConfig' of type `AkWwiseProjectData' could be found. Are you missing an assembly reference?

  6.  

  7. The project was not modified.

 

Integration worked fine with Unity 5, and it's necessary for the current project to use 2017 so there's no choice of going back. 

Any help to fix this issue?

in General Discussion by twombly (140 points)

1 Answer

+2 votes
 
Best answer

As said here, juste update the #if UNITY_5 to #if UNITY5_3_OR_NEWER should fix the issue. But i totally agree it should be fixed in the base package as it's not the first time we get such basic issue.

by Sébastien C. (760 points)
selected by twombly
Whoops, never managed to find that previous thread.

Thanks for your answer though. An annoyance but at least there is an easy fix.
...