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.

WWise is continuously adding AKGameObj components to my objects

+1 vote

I've just upgraded the WWise Unity plugin (Wwise Integration 2016.2.2.6022.430) and I noticed the game was slowing down when I ran it. It turns out every time I call AkSoundEngine.SetRTPCValue a new AkGameObj is being added to the gameObject in question. I already have added an AkGameObj component before running the game. So after a few seconds there are hundred of AkGameObj's on my gameObject. I've attached a screenshot, any ideas?

asked Mar 29, 2017 in General Discussion by Joe B. (170 points)

1 Answer

+1 vote

Ok, so it turned out this was because I hadn't added a WWiseGlobal object to my scene, which is basically an empty object with an AKInitializer component.

answered Mar 29, 2017 by Joe B. (170 points)
THANK YOU. I find it Wwise's unity implementation pretty frustrating. That should throw an error instead of spamming a million objects with no indication of why that is happening.
...