Community Q&A

Where Wwise users help each other out!

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

Wwise Integration into Unity 5.5.2f1 failed. How can I fix this?

0 votes
I'm trying to integrate Wwise into Unity with the Wwise Launcher but I got the following messages in the log afterwards:

2018-02-01T01:39:58.512Z: --- END UNITY LOG ---
2018-02-01T01:40:27.454Z: Game integration: Pushing progress: A script compilation error occurred during the execution in Unity. Please click Open Log to review the Unity log.
Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs(6,19): error CS0234: The type or namespace name `Build' does not exist in the namespace `UnityEditor'. Are you missing an assembly reference?
Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs(8,44): error CS0246: The type or namespace name `IPreprocessBuild' could not be found. Are you missing an assembly reference?
Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs(8,62): error CS0246: The type or namespace name `IPostprocessBuild' could not be found. Are you missing an assembly reference?

The project was not modified. 100%.
2018-02-01T01:40:27.704Z: ERROR: Error: A script compilation error occurred during the execution in Unity. Please click Open Log to review the Unity log.
Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs(6,19): error CS0234: The type or namespace name `Build' does not exist in the namespace `UnityEditor'. Are you missing an assembly reference?
Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs(8,44): error CS0246: The type or namespace name `IPreprocessBuild' could not be found. Are you missing an assembly reference?
Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs(8,62): error CS0246: The type or namespace name `IPostprocessBuild' could not be found. Are you missing an assembly reference?
2018-02-01T01:40:27.768Z: Tracking: launcher/unity/install/error/ installType:add bundleId:unityintegration.2017_2_0_947 engineVersion:5.5.2f1 platformsToInstall:Mac,Windows isCreatingWwiseProject:true projectSize:34317462923 errorMessage:A script compilation error occurred during the execution in Unity. Please click Open Log to review the Unity log.
Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs(6,19): error CS0234: The type or namespace name `Build' does not exist in the namespace `UnityEditor'. Are you missing an assembly reference?
Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs(8,44): error CS0246: The type or namespace name `IPreprocessBuild' could not be found. Are you missing an assembly reference?
Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs(8,62): error CS0246: The type or namespace name `IPostprocessBuild' could not be found. Are you missing an assembly reference?
2018-02-01T01:40:28.279Z: POST(58): https://www.audiokinetic.com/wwise/launcher/?action=log err:null statusCode:200 PROXY: null
2018-02-01T01:40:59.805Z: Tracking: launcher/openLog

 

I've read that I can edit files and fix a lot of this. I don't really know specifically what I should do though. Any help would be great!
asked Jan 31, 2018 in General Discussion by Ryan S. (140 points)

1 Answer

0 votes
Found the answer. I was using the wrong version of Wwise.
answered Feb 1, 2018 by Ryan S. (140 points)
...