커뮤니티 Q&A

Audiokinetic의 커뮤니티 Q&A 포럼에 오신 것을 환영합니다. 이 포럼은 Wwise와 Strata 사용자들이 서로 도움을 주는 곳입니다. Audiokinetic의 직접적인 도움을 얻으려면 지원 티켓 페이지를 사용하세요. 버그를 보고하려면 Audiokinetic 런처에서 Bug Report 옵션을 사용하세요. (Q&A 포럼에 제출된 버그 보고는 거절됩니다. 전용 Bug Report 시스템을 사용하면 보고 내용이 담당자에게 정확히 전달되어 문제 해결 가능성이 크게 높아집니다.)<segment 6493>

빠르고 정확한 답변을 얻으려면 질문을 올릴 때 다음 팁을 참고하세요.

  • 구체적인 내용을 적어주세요: 무엇을 하려는지, 혹은 어떤 특정 문제에 부딪혔는지 설명하세요.
  • 핵심 정보를 포함하세요: Wwise와 게임 엔진 버전, 운영체제 등 관련 정보를 함께 제공하세요.
  • 시도한 방법들을 알려주세요: 문제 해결을 위해 이미 어떤 단계를 시도해봤는지 설명해주세요.
  • 객관적인 사실에 초점을 맞추세요: 문제의 기술적 사실을 중심으로 설명하세요. 문제에 집중할수록 다른 사람들이 더 빠르게 해결책을 찾을 수 있습니다.

0 투표
Hi all

I have a serious problem with my wwise intergration in unity.

I intergrated Wwise into unity, and everything worked. I then recieved a push on GIT and since it stopped working (we checked GIT and nothing in there should have anything to do with it)

When I play a sound in the Editor on the AkEvent its telling me "Event ID not found" as if were missing the appropiate soundbank

When I play the game is "missing game obejct ID" and when I stop is writes "Sound engine initialized succesfully" everytime, don't know if it suppose to do that?

Unity also unchecks the AkGameObj by it self when I play sometimes, and then I can't re-enable it, also resetting the AkEvent and AkBank so that it doesn't have a event/bank assaigned to it anymore.

I have tried different soundbanks/events, re-intergrated Wwise into unity, and even made a new Wwise project and nothings works.

Any help is much appreciated

Thanks
폐쇄 기록: All I can say is that I am almost 100% sure that the problem is somewhere in unity's end and not Wwises.
General Discussion Lasse Skak E. (110 포인트) 로 부터
완료 Mads Maretty S. (Audiokinetic) 로 부터
I saw the comments mentioning that turning off "Skip Reload Domain" fixes this issue. But maybe you don't need to disable that option.

You can try the fixes I posted on this other question, to see if they fix your issue while still retaining the option to work with disabled Domain Reload for faster iteration:

https://www.audiokinetic.com/qa/9567/support-for-unitys-enter-play-mode-settings

1 답변

0 투표
Hey Lasse,

Did you try deleting your SoundBanks completely (along with the Wwise IDs) and then re-generate?
If that doesn't help, try to copy the event ID and in the WwiseIDs file, search and see if you can find it.

Let me know how it goes.
Mads Maretty S. (Audiokinetic) (40.2k 포인트) 로 부터
Yes I tried erasing the soundbanks and building new one, I also tried integrating a completely new Wwise project with new soundbanks, and received the same errors, so I am thinking the problem must be in the unity project, and/or its connection to Wwise in gerneral.

Not sure what the WwiseId file is, is it in the Wwise project folder?

Thanks
Most often, you'll find the Wwise_Ids.h file in your Assets > Streaming Assets > Audio > GeneratedSoundBanks folder. That file is generated by Wwise and includes all Event IDs for Events, RTPC, and such. If you get a Event ID not found error, it might be because Wwise didn't update that file. You can make sure that file is generated in your SoundBank Settings > Generate header file.
Ah okay. Found it :)

The IDs in the Wwise events matches completely with IDs in the Wwise.ID.h (except they end with an "U" in script but I suppose that is suppose to be like that)
Thanks
Yes, it's suppose to be like that. If this problem persists, maybe you could also try deleting the Library folder, the AkWwiseProjectData.asset file or check your Wwise Editor Settings in Unity whether paths are OK, etc.
Hmm tried erasing both, and the AkWwisedata.asset wasn't a functional asset before regenerating it, however, it still doesn't work.

I tried just making an empty scene without a sound bank, or any events just the listener, and I get the error:
"Wwise: Unknown listener game object ID. Make sure the game object is registered before using it and do not use it once it was unregistered. (GameObject: Main Camera (UnityEngine.GameObject)) (Instance ID: 18446744073709516550)"
So it can't even connect to the listener it seems.
Don't know if this rings any bells, otherWwise thanks for taking your time to help me!
Happy to help! That sounds really strange. What Wwise version + Unity version are you on? What error message do you get when you profile the empty scene (with API profiling enabled)?

Wwise: Unknown listener game object ID - generally just means that the listener game object cannot be registered. So typically, I'd say check if the listener is on the camera, but then again seems like you did that.
I'm on unity 2019.4.10f1 and Wwise 2019.2.5.7349.
I get no errors in a completely blank scene, but yes I checked the camera for listener and even added a manuel script with registergameobject on start/awake to no help.

In the end we made a new unity and Wwise project and copied the assets and so on over, and finally it works, but I don't really consider that a fix, but we had to move on.

Again, I appreciate all of your help (and the Wwise 301 videos too. (-8 ), and sorry that I can't provide a definit solution for anyone else who encounters this problem, though I think its related to our sharing of files on GIT, and therefore probably an unique error.
All I can say is that I am almost 100% sure that the problem is somewhere in unity's end and not Wwises.
See you out there!
Alright. Good to hear. Thanks for letting us know.
Update here............................
Apparently our gamedesigner applied a setting in unity under project settings called "Enter Play Mode Options (Experimental)", and it seems that that causes the error. It is made to make the game start faster, but it does so that Wwise don't have time to load the soundbank before starting?? or something like that.
Anyway, NOW that we were doing something else he remembered checking that box and the causes the error again in the new project (And unchecking it fixes it, luckily), so problem solved.
2 full work days for unchecking a box, I wish it was a paid project haha.
Thanks again
I just fixed it this way too.  Turned off the "Enter Playmode Settings" -> Skip "Reload Domain" option, in Unity -> Project Settings -> Editor, and everything worked.
I wanted to say a big thank you for taking the time to update us on this matter. Turns out I had the same option turned on. I could have wasted days trying to find the solution, so really thank you.
...