Hi guys!
When I build my scene with Wwise Unity integration 5.1.1 and Unity 5.1.1f1 I find no trouble at all. I play in editor and build to Android phone without issues. But when I send it to Unity Cloud Build and select that to build for me on Android, the following errors appear when attempting to build:
1708: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
1709: [Unity] Compilation failed: 2 error(s), 0 warnings
1710: [Unity] 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?
1711: [Unity] 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?
1712: [Unity] - Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll
1713: [Unity] 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?
1714: [Unity] (Filename: Assets/Wwise/Deployment/API/Generated/Common/AkDeviceSettings.cs Line: 102)
1715: [Unity] 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?
1716: [Unity] (Filename: Assets/Wwise/Deployment/API/Generated/Common/AkInitSettings.cs Line: 179)
1717: [Unity] - Finished compile Library/ScriptAssemblies/Assembly-UnityScript.dll
1718: [Unity] WeaveUnetFromEditor Temp/Assembly-UnityScript.dll
1719: [Unity] WeaveAssemblies unityPath= /UNITY_PATH/Unity/Unity-5_1_2f1/Unity.app/Contents/Frameworks/Managed/UnityEngine.dll
1720: [Unity] WeaveAssemblies unetPath= /UNITY_PATH/Unity/Unity-5_1_2f1/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll
1721: [Unity] Symbols will be read from Temp/Assembly-UnityScript.dll.mdb
1722: [Unity] Script Module: Assembly-UnityScript
1723: [Unity] Validating Project structure ... 0.003379 seconds.
1724: [Unity] Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.004622 seconds (Nothing changed)
1725: [Unity] Unloading 197 Unused Serialized files (Serialized files now loaded: 0)
1726: [Unity] System memory in use before: 49.5 MB.
1727: [Unity] System memory in use after: 49.5 MB.
1728: [Unity] Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 559.
1729: [Unity] Total: 5.282090 ms (FindLiveObjects: 0.046821 ms CreateObjectMapping: 0.022818 ms MarkObjects: 5.187017 ms DeleteObjects: 0.024706 ms)
1730: [Unity] Scripts have compiler errors.
1731: [Unity] Aborting batchmode due to failure:
1732: [Unity] Scripts have compiler errors.
1733: [Unity] ***Thread 'UnityLookForNewInputDevices' is still running!***
1734: [Unity] ***Thread was not cleaned up!***
1735: ! Unity player export failed!
1736: ! build of 'default-android' failed. compile failed
1737: Build step 'Execute shell' marked build as failure
1738: done.
1739: postbuildstatus finished successfully.
1740: Deleting project workspace...
1741: Finished: FAILURE
Status: FAILED
Full log here: http://pastebin.com/t9XqMn3P
Does anyone know what's going on here?
I have tried to add both Wwise Unity Android and Windows Integrations several times to "feed" UCB with what it needs, but this makes no difference. When I look at the
AkThreadProperties
and
AkAudioAPI
functions in MonoDevelop they are fully integrated as I can see info about them when hovering over them.
Any ideas?
Help would be much appreciated.
Best regards,
Egil