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

Spatial Audio Error: game object is not registered as a spatial audio emitter

0 支持
Wwise Unity intergration on Platform WINDOWS.

I used AkSoundEngine.RegisterGameObj and AkSoundEngine.RegisterEmitter to registered a UnityEngine.GameObject as a spatial audio emitter.

However when I call "AKRESULT SetEmitterObstructionAndOcclusion(UnityEngine.GameObject in_gameObjectID, float in_fObstruction, float in_fOcclusion)", it returned an error as follows.

"Wwise: AK::SpatialAudio::SetEmitterObstructionAndOcclusion: game object (ID:4294800320) is not registered as a spatial audio emitter."

I logged the GameObject ID I registered as "18446744073709384640" which is different with the one (ID:4294800320) in error message.

The value 4294800320 is exactly the result that ulong type value 18446744073709384640 been cut off to uint type value.

Dose anynoe know what happened?

Thanks a lot.
RUI W. (100 ポイント) 2019 3/4 質問 General Discussion

Please sign-in or register to answer this question.

...