Exception while invoking event

Options
I got the following error when receiving an Global reliable event. The event raised without problem and the log show all parameters correctly. but show following when the event is invoked on the receive side. Any Idea?

Exception while invoking event 'HUDEvent'
0x0000000141535DE8 (Unity) StackWalker::GetCurrentCallstack
0x000000014153C326 (Unity) StackWalker::ShowCallstack
0x000000014140B85B (Unity) GetStacktrace
0x00000001408AF3B0 (Unity) DebugStringToFile
0x00000001418DA7D8 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000000001B280E90 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,string,UnityEngine.Object)
0x000000001B280993 (Mono JIT Code) [DebugLogHandler.cs:10] UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000000001B280215 (Mono JIT Code) [Logger.cs:48] UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000000005084F709 (Mono JIT Code) [Debug.bindings.cs:117] UnityEngine.Debug:LogError (object)
0x000000005084F5CB (Mono JIT Code) BoltLog/Unity:BoltLog.IWriter.Error (string)
0x000000005084F2F0 (Mono JIT Code) BoltLog:Error (string)
0x000000005084F043 (Mono JIT Code) BoltLog:Error (string,object)
0x000000005084BCEB (Mono JIT Code) Bolt.EventDispatcher:Dispatch (Bolt.Event)
0x000000004A1A2883 (Mono JIT Code) Bolt.EventDispatcher:DispatchAllEvents ()
0x000000004A1806C3 (Mono JIT Code) BoltCore:Poll ()
0x000000004A17FB73 (Mono JIT Code) BoltPoll:FixedUpdate ()
0x000000004141DD08 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFCCAADA65B (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FFCCAA61B72 (mono-2.0-bdwgc) [object.c:2915] do_runtime_invoke
0x00007FFCCAA6AB5F (mono-2.0-bdwgc) [object.c:2962] mono_runtime_invoke
0x0000000140C04A1A (Unity) scripting_method_invoke
0x0000000140BFCDC0 (Unity) ScriptingInvocation::Invoke
0x0000000140BB30C8 (Unity) MonoBehaviour::CallMethodIfAvailable
0x0000000140BB37A4 (Unity) MonoBehaviour::CallUpdateMethod
0x00000001406EB1A9 (Unity) BaseBehaviourManager::CommonUpdate
0x00000001406F11F6 (Unity) FixedBehaviourManager::Update
0x0000000140967F4C (Unity) `InitPlayerLoopCallbacks'::`2'::FixedUpdateScriptRunBehaviourFixedUpdateRegistrator::Forward
0x0000000140967567 (Unity) ExecutePlayerLoop
0x0000000140967616 (Unity) ExecutePlayerLoop
0x0000000140969DFC (Unity) PlayerLoop
0x000000014144AEAA (Unity) PlayerLoopController::UpdateScene
0x00000001414490C3 (Unity) Application::TickTimer
0x00000001415E7C55 (Unity) MainMessageLoop
0x00000001415EA048 (Unity) WinMain
0x000000014242FA4A (Unity) __scrt_common_main_seh
0x00007FFD108B3034 (KERNEL32) BaseThreadInitThunk
0x00007FFD120B1461 (ntdll) RtlUserThreadStart

Comments

  • Gil
    Options
    Ok, I fixed the issue by myself. Just a wrong definition of the callback. Thanks.