Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

+2 votes

希望能够在Unity中直接获取到类似Wwise编辑器中Profiler页面中的各个模块的内存占用。我看到文档中有相关的说明,但是在Unity的相关集成中如何实现呢?以及能否通过AkMemoryMgr获取到AkMemID中定义的各个模块的内存信息呢?

SDK 以 静态库 (AkMemoryMgr.lib)的方式提供了一个默认实现。为了使用此库,客户端需要包含 AkModule.h 头文件并调用 AK::MemoryMgr::Init 初始化函数

 

in General Discussion by huixuan z. (120 points)

1 Answer

0 votes
可以参考下面文档,因为获取内存的方法在头文件<AK.MemroyMgr>中是有定义的,所以在cpp中添加调用头文件方法的代码,然后重编dll, 给unity c#层调用即可。

https://www.audiokinetic.com/zh/public-library/2024.1.5_8803/?source=Unity&id=pg_building.html。
by sixsixla s. (140 points)
...