커뮤니티 Q&A

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

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

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

+6 투표
Unity Version: 2019.4.4f1

Wwise Version: 2019.2.0

We've discovered that AkSoundEngine.UnloadBank does not free up the "Total Reserved Memory" that is allocated by AkSoundEngine.LoadBank and have determined via PIX that we are leaking memory.

We are evaluating the improvements to this area of performance in Wwise 2019.2.9. The Wwise Profiler is reporting less leak than our current version (there's still some undesired allocation though). However, a full upgrade is not ideal because of the amount of effort involved in integrating and testing the changes.

It would be great if we could fix this issue with a custom version of the plugin for our current version of Wwise, but it is unclear if that's feasible with what is available in the SDK or if we would have to do something else.

Any insight into addressing this issue would be helpful.
폐쇄 기록: Issue resolved with upgrade
General Discussion Anthony L. (250 포인트) 로 부터
완료 Anthony L. 로 부터
Not an answer unfortunately, just wanted to add weight to this question by adding that we are also experiencing this in Wwise 2019.2.9, steady reserved memory increases when loading and unloading content (with consistent Used memory, i.e. we are not leaking resources from our code) It may be even worse when preparing from a large number of loose individual events, we've seen leaks of ~5MB on each reload.
We are facing the same issue. We have released a game on multiple platforms and have had reports of the game often crashing on Switch after playing a certain time. In one of our tests which consist of unloading and reloading the same level multiple times, the native heap inspector has shown us that wwise allocates 10MB EXTRA each scene loading even if we verified that we are properly unloading all soundbanks from the previous load. Another test is that we then load an empty scene (and unloading all soundbanks) and this memory still stays allocated.
We are using Wwise 2019.2.5 with Unity 2019.4.12f1.
Any help would be greatly appreciated!
To update my previous post, in a small project, we saw the same issue on wwise 2019.2.5 as when we tested in our game. Upgrading to wwise 2019.2.9 has fixed the issue in the small project. Valid for both PC and Switch so it might be a cross-platform issue.
Our test was to load 10 soundbanks and then unload them. After each unload, we would check the memory stats. Reserved memory kept increasing by 10MB each cycle.

1 답변

0 투표
 
우수 답변
Update: We did further evaluation of the 2019.2.9 upgrade and are finding that there's a huge improvement in memory performance (no more leaks!!!).
Anthony L. (250 포인트) 로 부터
선택됨 Noemie P. (Audiokinetic) 로 부터
...