Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

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

0 votes
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.
asked Mar 4, 2019 in General Discussion by RUI W. (100 points)

Please sign-in or register to answer this question.