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.

Error "... `AkThreadProperties' could not be found." despite build and integration packages being correct.

0 votes
We're developing on both Mac and PC so need to have both integration packages working and also jiving with version management. Installing the Mac integration wiped my PC integration package, and it won't uninstall correctly so I have to revert everything in git. However if I commit my reverted state, that will cause issues on the development Macs. Any insight ASAP would be much appreciated.

Full error list:

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

Assets/Wwise/Deployment/API/Generated/Common/AkInitSettings.cs(179,10): error CS0246: The type or namespace name `AkAudioAPI' could not be found. Are you missing a using directive or an assembly reference?

This error still exists after reintegrating for Windows and ensuring the integration package matches the build target platform.
asked Oct 20, 2015 in General Discussion by Gordon M. (110 points)
upgrading an older project from 2014 I just got the first error you mentioned, the project won't build and objects with Wwise related scripts attached show the 'missing script' panel

Assets/Wwise/Deployment/API/Generated/Common/AkDeviceSettings.cs(102,10): error CS0246: The type or namespace name `AkThreadProperties' could not be found. Are you missing a using directive or an assembly reference?
Exact same problem here, did you find the solution?
Same issue, we are trying to get our Wwise/Unity project to work on both Mac and PC (though the build is ultimately for Windows). Please comment if there is a solution.

  I imported integration package for PC and it works fine there. But on the Mac, when importing the package the Unity progress bar runs fine, but it never gets me to that Wwise installation window (where you can link the wwise project). I have the AKThreadProperties error and it won't let me test the game on mac:

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

1 Answer

0 votes
hey if I remember correctly the problem wasn't Wwise, I checked the console and there was an error related to other game scripts that prevented Wwise from compiling, once I resolved the error related to the other game scripts Wwise compiled and worked fine .. hope that helps
answered May 24, 2016 by Joel W. (260 points)
...