Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

Script compiling errors when integrating into Unity 2017

0 투표

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?

문의 2017 7월 3 General Discussion twombly (140 포인트) 로 부터

1 답변

+2 투표
 
우수 답변

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.

답변 2017 7월 13 Sébastien C. (760 포인트) 로 부터
선택됨 2017 7월 14 twombly 로 부터
Whoops, never managed to find that previous thread.

Thanks for your answer though. An annoyance but at least there is an easy fix.
Can I implement the Unity 2017.1 fix before integrating Wwise in a new project?
...