AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

Wwise Unity: AkGameObj Missing Collider Component

+4 支持
Hi,

Since last version (2015.1.4) the AkGameObj.cs script is looking for a Collider component in order to cache the gameobjectbounds (line 58).

A MissingComponentException is throwed in case it does not have one and the gameobject registering is aborted.

Does the AkGameObj script absolutely requires a Collider component to work ?

Thank you.
Anthony D. (260 ポイント) 2015 11/23 質問 General Discussion
Good question, I've just updated and having the same issue. Massive hassle to add a collider to every Game object if it's necessary... Did you resolve another way?
I just commented it out for the moment... and kept GetComponent<Collider>().bounds instead of GameObjColliderBounds on line 269.
Thanks Anthony, thankfully it looks like there's a fix coming, good to know I wasn't just going mad and doing something wrong!

回答 1

+2 支持
This will be fixed in the next version of the integration. Thanks for the report!
Benoit S. (Audiokinetic) (16,020 ポイント) 2016 1/8 回答
...