社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,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?
...