コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

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?
Kyle B. (120 ポイント) General Discussion

回答 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?
...