社区问答

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

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

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

+2 投票

I just updated to Wwise 2018.1.1 and now Wwise fails to initialize sometimes. It seems to fail about half the time. Any ideas? Here's the console output:

 

Wwise: APU heap could not be allocated.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkLogger:WwiseInternalLogError(String) (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkLogger.cs:52)
AkSoundEnginePINVOKE:CSharp_Init(IntPtr)
AkSoundEngine:Init(AkInitializationSettings) (at [project dir]\Assets\Wwise\Deployment\API\Generated\XBoxOne\AkSoundEngine_XBoxOne.cs:1445)
AkWwiseInitializationSettings:InitializeSoundEngine() (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:280)
AkSoundEngineController:Init(AkInitializer) (at [project dir]\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at [project dir]\Assets\W
se\Deployment\Components\AkInitializer.cs:51)
UnityEngine.Object:Internal_CloneSingle(Object)
UnityEngine.Object:Instantiate(GameObject)

 
(Filename: [project dir]/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs Line: 52)
Wwise: Cannot create streaming I/O device.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkLogger:WwiseInternalLogError(String) (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkLogger.cs:52)
AkSoundEnginePINVOKE:CSharp_Init(IntPtr)
AkSoundEngine:Init(AkInitializationSettings) (at [project dir]\Assets\Wwise\Deployment\API\Generated\XBoxOne\AkSoundEngine_XBoxOne.cs:1445)
AkWwiseInitializationSettings:InitializeSoundEngine() (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:280)
AkSoundEngineController:Init(AkInitializer) (at [project dir]\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at [project dir]\Asset
Wwise\Deployment\Components\AkInitializer.cs:51)
UnityEngine.Object:Internal_CloneSingle(Object)
UnityEngine.Object:Instantiate(GameObject)

 
(Filename: [project dir]/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs Line: 52)
WwiseUnity: Failed to initialize the sound engine. Abort.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkWwiseInitializationSettings:InitializeSoundEngine() (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:282)
AkSoundEngineController:Init(AkInitializer) (at [project dir]\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at [project dir]\Assets\Wwise\Deployment\Components\AkInitializer.cs:51)
UnityEngine.Object:Internal_CloneSingle(Object)
UnityEngine.Object:Instantiate(GameObject)


Wwise: Term() called before successful initialization.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkLogger:WwiseInternalLogError(String) (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkLogger.cs:52)
AkSoundEnginePINVOKE:CSharp_Term()
AkSoundEngine:Term() (at [project dir]\Assets\Wwise\Deployment\API\Generated\XBoxOne\AkSoundEngine_XBoxOne.cs:1451)
AkWwiseInitializationSettings:InitializeSoundEngine() (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:283)
AkSoundEngineController:Init(AkInitializer) (at [project dir]\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at [project dir]\Assets\Wwise\Deployment
omponents\AkInitializer.cs:51)
UnityEngine.Object:Internal_CloneSingle(Object)
UnityEngine.Object:Instantiate(GameObject)

 

分类:General Discussion | 用户: Justin R. (290 分)
Also getting this error:

Wwise: Cannot initialize sound engine.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkLogger:WwiseInternalLogError(String) (at C:\Users\Justin\Documents\Wwise Xbox test\Assets\Wwise\Deployment\API\Handwritten\Common\AkLogger.cs:52)
AkSoundEnginePINVOKE:CSharp_Init(IntPtr)
AkSoundEngine:Init(AkInitializationSettings) (at C:\Users\Justin\Doc
ents\Wwise Xbox test\Assets\Wwise\Deployment\API\Generated\XBoxOne\AkSoundEngine_XBoxOne.cs:1445)
AkWwiseInitializationSettings:InitializeSoundEngine() (at C:\Users\Justin\Documents\Wwise Xbox test\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:280)
AkSoundEngineController:Init(AkInitializer) (at C:\Users\Justin\Documents\Wwise Xbox test\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at C:\Users\Justin\Documents\Wwise Xbox test
ssets\Wwise\Deployment\Components\AkInitializer.cs:51)
I have created an empty project containing Wwise only and this issue still occurs.
I'm experiencing the same issue on Xbox.

1个回答

+2 投票
 
已采纳
Fixed by changing "XBoxOne" to "XboxOne" in AkBasePathGetter.GetPlatformName()
用户: Justin R. (290 分)
修改于 用户:Justin R.
...