Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

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!
in General Discussion by Ryan S. (140 points)

1 Answer

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