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.

0 votes

I keep getting this console error

Cannot find a solution  when I try to replace destroy with destroyImmediate there is another error regarding destrying multiple objects

Any Ideas anyone? Thanks

 

Destroy may not be called fro m edit mode!Use DestroyImmediate instead.

Also think twice if you really want to destroy something in edit mode. Since this will destroy objects permanently.

UnityEngine.Object:Destroy(Object)

AkUnityEventHandler:UnregisterTriggers(List`1, Trigger) (at Assets/Wwise/Deployment/Components/AkUnityEventHandler.cs:114)

AkUnityEventHandler:DoDestroy() (at Assets/Wwise/Deployment/Components/AkUnityEventHandler.cs:60)

AkUnityEventHandler:OnDestroy()(at Assets/Wwise/Deployment/Components/AkUnityEventHandler.cs:55)

AkBank:OnDestroy()(at Assets/Wwise/Deployment/Components/AkBank.cs:73)

in General Discussion by Tom D. (180 points)

Please sign-in or register to answer this question.

...