menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

+1 투표

Hi,

This is more an issue report than a question... but hopefully this can be fixed or help others.
We are running into an issue where our automated test that opens a level and closes the editor and it shows an error logged by the Wwise plugin.

LogAkAudio: Error: Unknown game object ID. Make sure the game object is registered before using it and do not use it once it was unregistered.: 13

 

Using the Wwise Profiler and listening for API calls we were able to narrow it down to a SetPosition call that was causing the error with a Game Object ID of 0. So we ended up putting breakpoints on all the SetPosition calls in the Wwise plugin and found that there was a call to SetPosition with a nullptr for the EditorListener. In our case it was in the OnEditorCameraMoved lambda. It was beind called before the EditorListener was created and thus was still a nullptr.

For now I've surrounded the call with a nullptr check, which should get rid of the error, and I think is actually a reasonable solution.

More info on this error in the profiler https://www.audiokinetic.com/library/edge/?source=Help&id=ErrorCode_UnknownGameObject

Hopefully this can get fixed in a future version or help other with this issue.

General Discussion Daan G. (110 포인트) 로 부터

Please sign-in or register to answer this question.

...