커뮤니티 Q&A

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

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

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

0 투표
I am calling the AkEvent.HandleEvent function about say 5-20 times in a second and if I sustain that rate I get out of memory output such as:

Wwise: Insufficient memory in pool: Lower Engine Default. Attempted alloc size: 12288 bytes.
UnityEngine.Debug:LogError(Object)
AkInitializer:CopyMonitoringInConsole(ErrorCode, ErrorLevel, UInt32, IntPtr, String) (at Assets/Wwise/Deployment/Components/AkInitializer.cs:218)
AkCallbackManager:PostCallbacks() (at Assets/Wwise/Deployment/API/Handwritten/AkCallbackManager.cs:391)
AkInitializer:LateUpdate() (at Assets/Wwise/Deployment/Components/AkInitializer.cs:192)

 

Wwise: Plug-in initialization failure: 7536643(Object: MyGameGizmoObj (UnityEngine.GameObject))
UnityEngine.Debug:LogError(Object)
AkInitializer:CopyMonitoringInConsole(ErrorCode, ErrorLevel, UInt32, IntPtr, String) (at Assets/Wwise/Deployment/Components/AkInitializer.cs:218)
AkCallbackManager:PostCallbacks() (at Assets/Wwise/Deployment/API/Handwritten/AkCallbackManager.cs:391)
AkInitializer:LateUpdate() (at Assets/Wwise/Deployment/Components/AkInitializer.cs:192)

 

And then after that goes on for 10 seconds or so, eventually the editor crashes. This same scene/situation/etc on device crashes about 10x faster (i.e. in a couple seconds).

 

I'm using Unity Version 4.6.3f1. This is my Wwise version info out of version.txt file:

Wwise Unity Integration Version Info:

Stable Version (SVN): 1622

Based on Wwise SDK: 2014.1.2 Build 5195

Unity Integration Version: 5

Installed Platforms: Android Windows iOS Mac

 

I also noticed that this is kind of an old build. What is the recommended Wwise build number for the version of unity that we're using?
General Discussion Kyle B. (120 포인트) 로 부터

1 답변

+1 투표
If you're using the Unity 5 integration, you should be using Wwise 2014.1.4 (if you can wait a little bit longer, we'll have the integration for 2014.1.5 coming pretty soon).  2014.1.2 with the newer Unity integration could definitely cause some issues (not sure if that's the cause of your current issue, but a version mismatch is never a great thing).
Mike D. (Audiokinetic) (3.9k 포인트) 로 부터
I inherited this code from someone so I'm not sure if the Unity 5 integration is the correct one or not. Given that we're using Unity 4, maybe not.

So to be clear, for our version of unity, 4.6.3f1, you recommend using the Wwise 2014.1.4 version?

I don't have a preference, I just need to know what is the best Wwise version for my version of unity.

Thank you!
OK, I just upgraded to 2014.1.4 on Windows and I still get the editor crashes I mentioned above. I also read up a bit more on the pool size stuff, and I can increase our memory pool size a little bit, but what is going to keep it from crashing when I play a lot of sounds?
...