社区问答

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

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

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

+1 投票
When running a build on Switch, the game will crash as soon as a scene is loaded that contains the WwiseGlobal - AkInitializer object. The only specific error in the log points to AK:EventManager but doesn't give many details besides that. Below is the full stack trace. Does anyone know how to fix this? Sound works fine in editor, as well as in PC builds.

Initialize engine version: 2018.2.20f1 (cef3e6c0c622)
Initialised in 3.294401 seconds.
UnloadTime: 0.692969 ms
Wwise warning: AkInitializer.cs Awake() was not executed yet.  Set the Script Execution Order properly so the current call is executed after.WwiseUnity: Sound engine initialized successfully.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
AkWwiseInitializationSettings:InitializeSoundEngine()
AkSoundEngineController:Init(AkInitializer)
AkInitializer
:OnEnable()
 
(Filename: .\Runtime/Export/Debug.bindings.h Line: 43)

Starting main loop at 3.419028 seconds.

UserException handler is called at pid=375
==============================================================================
  不正なメモリ領域へのデータアクセス (ExceptionType=0x0101)
  未マップ空間へのメモリアクセスが発生 (DFSC=0x04)
  Accessed to: 0x5A5A5A5A5A5A5A72
==============================================================================

Thread         : 0x00000012A48A4168 (AK::EventManager)
  Stack Top    : 0x0000007316BA4000
  Stack Bottom : 0x0000007316BB4000 (size=0x10000)

tpidrro = 0x0000003726356200
tpidr   = 0x0000003BEE87CCC0

pstate  = 0xA0000000 (N=1 Z=0 C=1 V=0 Q=0 J=0 E=0 T=0 IT=0x00 GE=0x0)
fpcr    = 0x00000000
fpsr    = 0x0000001A
afsr0   = 0x00000000
afsr1   = 0x00000000
esr     = 0x92000044 (EC=0x24 IL=1 ISS=0x000044)
far     = 0x5A5A5A5A5A5A5A72

Stack trace:
  0x000000129FBE6828 _Z13tlsf_memalignPvmm+0x88
Setting up 1 worker threads for Enlighten.
  Thread -> id: 3beea146d8 -> priority: 1
  0x000000129FBE4FB0 _????AK9MemoryMgr6MallocEim+0x78
  0x000000129FD1CCD0 _????AkSink4InitEPN2AK17IAkPluginMemAllocEPNS0_20IAkSinkPluginContextEPNS0_14IAkPluginParamER13AkAudioFormat+0x118
  0x000000129FC558D0 _????AkDevice10CreateSinkEv+0x1F4
[HINT] DEBUG HUD can be enabled by pressing the DebugPad (A+B+L+ZL).
  0x000000129FC56630 _????CAkOutputMgr16_AddOutputDeviceEmR16AkOutputSettingsjR5AkSetIm17AkHybridAllocatorILj8ELh8EELj1EE9AkSetTypebb+0x1F4
  0x000000129FC572B4 _????CAkOutputMgr14InitMainDeviceERK16AkOutputSettings+0xE0
  0x000000129FBFD9F4 _????CAkAudioMgr15ProcessMsgQueueEbRb+0xE08
  0x000000129FBFC840 _????CAkAudioMgr7PerformEv+0x114
  0x000000129FC04578 _????CAkAudioThread18EventMgrThreadFuncEPv+0x54
  0x00000012A6434418 (unknown)
  0x00000012A643A528 (unknown)
分类:General Discussion | 用户: Cameron R. (120 分)

1个回答

0 投票
Hey!

Did you manage to get it working?

If so could you please help us. We have the same issue.

Kind regards,
Damian
用户: Damian K. (180 分)
...