Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Wwise Unity Intergration CRASH When Stoppping Game When Connect To Wwise Profiler

0 votes

Wwise: 2023.1.4.8496

Unity: 2021.1.3

How to reproduce:

Write a C# script to play some sounds on a object, (here, my object id is (ulong)4294967297)

Then invoke AkSoundEngine.StopAll(id) in the script, when the game is quitting.

Run the game, with the script above, connect to wwise profiler, then stop the game with the profiler connected, crash happened

Crash Log:

=================================================================

  Native Crash Reporting

=================================================================

Got a UNKNOWN while executing native code. This usually indicates

a fatal error in the mono runtime or one of the native libraries

used by your application.

=================================================================

 

=================================================================

  Managed Stacktrace:

=================================================================

    at <unknown> <0xffffffff>

    at AkSoundEnginePINVOKE:CSharp_Term <0x000cd>

    at AkSoundEngine:Term <0x0007a>

    at AkSoundEngineInitialization:TerminateSoundEngine <0x0025a>

  ... Other callstack from our project

=================================================================

Received signal SIGSEGV

Obtained 55 stack frames

0x00007fff3ec7c8ef (AkSoundEngine) [AkParameterNode.cpp:44] CAkParameterNode::~CAkParameterNode

0x00007fff3ec18f02 (AkSoundEngine) [AkSoundBase.cpp:29] CAkSoundBase::~CAkSoundBase

0x00007fff3ed89af5 (AkSoundEngine) [AkSound.cpp:36] CAkSound::~CAkSound

0x00007fff3ed89df7 (AkSoundEngine) CAkSound::`scalar deleting destructor'

0x00007fff3ec0e156 (AkSoundEngine) [AkObject.h:118] AkDelete<CAkParameterNodeBase>

0x00007fff3ec00f30 (AkSoundEngine) [AkParameterNodeBase.cpp:405] CAkParameterNodeBase::Destroy

0x00007fff3ec72c45 (AkSoundEngine) [AkIndexable.cpp:60] CAkIndexable::InternalRemove

0x00007fff3e9c6645 (AkSoundEngine) [AkIndexable.h:120] CAkIndexableObj<0>::RemoveFromIndex

0x00007fff3e9ad9f2 (AkSoundEngine) [AkIndexable.h:83] CAkIndexable::Release

0x00007fff3ee4e3b2 (AkSoundEngine) [ObjectProxyConnected.cpp:22] ObjectProxyConnected::~ObjectProxyConnected

0x00007fff3ede1642 (AkSoundEngine) [ParameterableProxyConnected.cpp:26] ParameterableProxyConnected::~ParameterableProxyConnected

0x00007fff3ecab992 (AkSoundEngine) [ParameterNodeProxyConnected.cpp:26] ParameterNodeProxyConnected::~ParameterNodeProxyConnected

0x00007fff3edbe172 (AkSoundEngine) [SoundProxyConnected.cpp:30] SoundProxyConnected::~SoundProxyConnected

0x00007fff3edbe927 (AkSoundEngine) SoundProxyConnected::`scalar deleting destructor'

0x00007fff3ec7139a (AkSoundEngine) [ObjectProxyConnected.h:39] ObjectProxyConnectedWrapper::~ObjectProxyConnectedWrapper

0x00007fff3ec71b97 (AkSoundEngine) ObjectProxyConnectedWrapper::`scalar deleting destructor'

0x00007fff3ec7241e (AkSoundEngine) [AkHashList.h:394] AkHashList<unsigned int,ObjectProxyConnectedWrapper,AkArrayAllocatorNoAlign<14> >::RemoveAll

0x00007fff3ec72943 (AkSoundEngine) [AkHashList.h:382] AkHashList<unsigned int,ObjectProxyConnectedWrapper,AkArrayAllocatorNoAlign<14> >::Term

0x00007fff3ec6e444 (AkSoundEngine) [ProxyFrameworkConnected.cpp:71] ProxyFrameworkConnected::Term

0x00007fff3eb25c86 (AkSoundEngine) [Communication.cpp:148] AK::Comm::Term

0x00007fff3e96ed1a (AkSoundEngine) [AkSoundEngineStubs.cpp:924] Term

0x00007fff3e999e39 (AkSoundEngine) [SoundEngine_wrap.cxx:18794] CSharp_Term

0x0000026e0dfb364e (Mono JIT Code) (wrapper managed-to-native) AkSoundEnginePINVOKE:CSharp_Term ()

0x0000026e0dfb34fb (Mono JIT Code) [AkSoundEngine_Windows.cs:1076] AkSoundEngine:Term ()

0x0000026e0dfb2b2b (Mono JIT Code) [AkSoundEngineInitialization.cs:128] AkSoundEngineInitialization:TerminateSoundEngine ()

... Other callstack from out project

0x0000026edb34bdf8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)

0x00007fff51c765fe (mono-2.0-bdwgc) mono_jit_set_domain

0x00007fff51bacd84 (mono-2.0-bdwgc) mono_object_get_virtual_method

0x00007fff51bacefc (mono-2.0-bdwgc) mono_runtime_invoke

0x00007ff649c29694 (Unity)

0x00007ff649b99806 (Unity)

0x00007ff649b3c4bc (Unity)

0x00007ff647acdcaa (Unity)

0x00007ff648a2e03b (Unity)

0x00007ff648ac7e04 (Unity)

0x00007ff64c37583f (Unity)

0x00007ff64c398e65 (Unity)

0x00007ff64c39cf5e (Unity)

0x00007ff64d363d9a (Unity)

0x00007ff64d36df8a (Unity)

0x00007ff650e7491a (Unity)

0x00007ff801137344 (KERNEL32) BaseThreadInitThunk

0x00007ff8014426b1 (ntdll) RtlUserThreadStart

asked Jul 4 in General Discussion by 鹰角 (100 points)

Please sign-in or register to answer this question.

...