Hi
I have a very very sporadic crash in my game in the editor when i test my game. I have looked the error log and hold my hand up in regards to not really knowing how to diagnose the issue. Or in fact if there is enough information in there to pinpoint the problem. I have pasted the error log below and wondered if anyone with more experience could please take look and see if they can identify the potential problem.
In regards to where the crash I occurs. I have 2 prefabs for my character. Both instantiated and positioned. I set active state to false on the second one and when the user clicks the first that on is set to false and the second is set to true. The second one has an animation attached to it.
As mentioned it is extremely sporadic and most of the time it simply works but this occasional crash makes me nervous:/
*** Launching bug reporter due to crashbug.
Obtained 48 stack frames.
0 Unity 0x0169ac31 _Z17LaunchBugReporter13BugReportMode + 1073
1 Unity 0x00951605 _Z12HandleSignaliP9__siginfoPv + 53
2 libmono.0.dylib 0x04838716 mono_chain_signal + 76
3 libmono.0.dylib 0x047835f6 mono_sigsegv_signal_handler + 234
4 libsystem_platform.dylib 0x97f1003b _sigtramp + 43
5 ??? 0xffffffff 0x0 + 4294967295
6 Unity 0x00d3b3b5 _ZN11UnityEngine9AnimationL23InitializeDefaultValuesERKNS0_30AnimatorGenericBindingConstantEPKN7mecanim9animation14AvatarConstantEbRNS5_25ControllerBindingConstantE + 1237
7 Unity 0x00d3aaa2 _ZN11UnityEngine9Animation29CreateAnimatorGenericBindingsERKNS0_20AnimationSetBindingsER9TransformPKN7mecanim9animation14AvatarConstantEPKNS7_18ControllerConstantEbRNS6_6memory9AllocatorE + 2066
8 Unity 0x00de9374 _ZN8Animator29SetupControllerMecanimDataSetEPKN7mecanim9animation18ControllerConstantEPKN11UnityEngine9Animation20AnimationSetBindingsERNS0_6memory9AllocatorERNS_14MecanimDataSetE + 116
9 Unity 0x00de8171 _ZN8Animator12CreateObjectEv + 385
10 Unity 0x00de6f7e _ZN8Animator13AwakeFromLoadE17AwakeFromLoadMode + 78
11 Unity 0x009f61f7 _ZN18AwakeFromLoadQueue13AwakeFromLoadE17AwakeFromLoadMode + 119
12 Unity 0x004f6479 _ZN5Unity10GameObject8ActivateEv + 153
13 Unity 0x00f37904 _Z27GameObject_CUSTOM_SetActive29ReadOnlyScriptingObjectOfTypeIN5Unity10GameObjectEEs + 68
14 ??? 0x136e52ba 0x0 + 325997242
15 ??? 0x1b77a4e7 0x0 + 460825831
16 ??? 0x1194fd27 0x0 + 294976807
17 libmono.0.dylib 0x0478552a mono_get_runtime_build_info + 3344
18 libmono.0.dylib 0x048b849f mono_runtime_invoke + 133
19 Unity 0x007353f9 _Z23scripting_method_invokeP15ScriptingMethodP10MonoObjectR18ScriptingArgumentsPP13MonoException + 265
20 Unity 0x00968f91 _ZN25ScriptingInvocationNoArgs6InvokeEPP13MonoException + 97
21 Unity 0x00968f1e _ZN25ScriptingInvocationNoArgs6InvokeEv + 30
22 Unity 0x0094b7f8 _ZN13MonoBehaviour21CallMethodIfAvailableEi + 440
23 Unity 0x009464b4 _ZN13MonoBehaviour16CallUpdateMethodEi + 372
24 Unity 0x009464d9 _ZN13MonoBehaviour6UpdateEv + 25
25 Unity 0x00703aa0 _ZN20BaseBehaviourManager12CommonUpdateI16BehaviourManagerEEvv + 448
26 Unity 0x00875d5b _Z10PlayerLoopbbP10IHookEvent + 1483
27 Unity 0x014b81e9 _ZN11Application11UpdateSceneEb + 457
28 Unity 0x014b47c9 _ZN11Application19UpdateSceneIfNeededEv + 73
29 Unity 0x014b3805 _ZN11Application9TickTimerEv + 2037
30 Unity 0x016a2728 -[EditorApplication TickTimer] + 24
31 Foundation 0x90a38d1f __NSFireTimer + 119
32 CoreFoundation 0x92ed0b06 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
33 CoreFoundation 0x92ed05b4 __CFRunLoopDoTimer + 1316
34 CoreFoundation 0x92f4bfff __CFRunLoopDoTimers + 351
35 CoreFoundation 0x92e89121 __CFRunLoopRun + 2081
36 CoreFoundation 0x92e88696 CFRunLoopRunSpecific + 390
37 CoreFoundation 0x92e884fb CFRunLoopRunInMode + 123
38 HIToolbox 0x903a4178 RunCurrentEventLoopInMode + 262
39 HIToolbox 0x903a3eb1 ReceiveNextEventCommon + 494
40 HIToolbox 0x903a3cac _BlockUntilNextEventMatchingListInModeWithFilter + 99
41 AppKit 0x99509f59 _DPSNextEvent + 734
42 AppKit 0x995097a1 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 186
43 AppKit 0x994fbf6c -[NSApplication run] + 907
44 AppKit 0x994e54d0 NSApplicationMain + 2082
45 Unity 0x016b6a7b _Z10EditorMainiPPKc + 1339
46 Unity 0x016b71b8 main + 24
47 Unity 0x00003295 start + 53
Stacktrace:
at (wrapper managed-to-native) UnityEngine.GameObject.SetActive (bool) <0x00004>
at (wrapper managed-to-native) UnityEngine.GameObject.SetActive (bool) <0x00004>
at InputController.Update () [0x00119] in /Users/adriangoddard/Desktop/tailchase/Assets/Scripts/InputController.cs:104
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0001c, 0x0008e>
Native stacktrace:
0 libsystem_kernel.dylib 0x9091e69e __pthread_kill + 10
1 libsystem_c.dylib 0x937d6efe abort + 156
2 Unity 0x0169ac85 _Z17LaunchBugReporter13BugReportMode + 1157
3 Unity 0x00951605 _Z12HandleSignaliP9__siginfoPv + 53
4 libmono.0.dylib 0x04838716 mono_chain_signal + 76
5 libmono.0.dylib 0x047835f6 mono_sigsegv_signal_handler + 234
6 libsystem_platform.dylib 0x97f1003b _sigtramp + 43
7 ??? 0xffffffff 0x0 + 4294967295
8 Unity 0x00d3b3b5 _ZN11UnityEngine9AnimationL23InitializeDefaultValuesERKNS0_30AnimatorGenericBindingConstantEPKN7mecanim9animation14AvatarConstantEbRNS5_25ControllerBindingConstantE + 1237
9 Unity 0x00d3aaa2 _ZN11UnityEngine9Animation29CreateAnimatorGenericBindingsERKNS0_20AnimationSetBindingsER9TransformPKN7mecanim9animation14AvatarConstantEPKNS7_18ControllerConstantEbRNS6_6memory9AllocatorE + 2066
10 Unity 0x00de9374 _ZN8Animator29SetupControllerMecanimDataSetEPKN7mecanim9animation18ControllerConstantEPKN11UnityEngine9Animation20AnimationSetBindingsERNS0_6memory9AllocatorERNS_14MecanimDataSetE + 116
11 Unity 0x00de8171 _ZN8Animator12CreateObjectEv + 385
12 Unity 0x00de6f7e _ZN8Animator13AwakeFromLoadE17AwakeFromLoadMode + 78
13 Unity 0x009f61f7 _ZN18AwakeFromLoadQueue13AwakeFromLoadE17AwakeFromLoadMode + 119
14 Unity 0x004f6479 _ZN5Unity10GameObject8ActivateEv + 153
15 Unity 0x00f37904 _Z27GameObject_CUSTOM_SetActive29ReadOnlyScriptingObjectOfTypeIN5Unity10GameObjectEEs + 68
16 ??? 0x136e52ba 0x0 + 325997242
17 ??? 0x1b77a4e7 0x0 + 460825831
18 ??? 0x1194fd27 0x0 + 294976807
19 libmono.0.dylib 0x0478552a mono_get_runtime_build_info + 3344
20 libmono.0.dylib 0x048b849f mono_runtime_invoke + 133
21 Unity 0x007353f9 _Z23scripting_method_invokeP15ScriptingMethodP10MonoObjectR18ScriptingArgumentsPP13MonoException + 265
22 Unity 0x00968f91 _ZN25ScriptingInvocationNoArgs6InvokeEPP13MonoException + 97
23 Unity 0x00968f1e _ZN25ScriptingInvocationNoArgs6InvokeEv + 30
24 Unity 0x0094b7f8 _ZN13MonoBehaviour21CallMethodIfAvailableEi + 440
25 Unity 0x009464b4 _ZN13MonoBehaviour16CallUpdateMethodEi + 372
26 Unity 0x009464d9 _ZN13MonoBehaviour6UpdateEv + 25
27 Unity 0x00703aa0 _ZN20BaseBehaviourManager12CommonUpdateI16BehaviourManagerEEvv + 448
28 Unity 0x00875d5b _Z10PlayerLoopbbP10IHookEvent + 1483
29 Unity 0x014b81e9 _ZN11Application11UpdateSceneEb + 457
30 Unity 0x014b47c9 _ZN11Application19UpdateSceneIfNeededEv + 73
31 Unity 0x014b3805 _ZN11Application9TickTimerEv + 2037
32 Unity 0x016a2728 -[EditorApplication TickTimer] + 24
33 Foundation 0x90a38d1f __NSFireTimer + 119
34 CoreFoundation 0x92ed0b06 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
35 CoreFoundation 0x92ed05b4 __CFRunLoopDoTimer + 1316
36 CoreFoundation 0x92f4bfff __CFRunLoopDoTimers + 351
37 CoreFoundation 0x92e89121 __CFRunLoopRun + 2081
38 CoreFoundation 0x92e88696 CFRunLoopRunSpecific + 390
39 CoreFoundation 0x92e884fb CFRunLoopRunInMode + 123
40 HIToolbox 0x903a4178 RunCurrentEventLoopInMode + 262
41 HIToolbox 0x903a3eb1 ReceiveNextEventCommon + 494
42 HIToolbox 0x903a3cac _BlockUntilNextEventMatchingListInModeWithFilter + 99
43 AppKit 0x99509f59 _DPSNextEvent + 734
44 AppKit 0x995097a1 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 186
45 AppKit 0x994fbf6c -[NSApplication run] + 907
46 AppKit 0x994e54d0 NSApplicationMain + 2082
47 Unity 0x016b6a7b _Z10EditorMainiPPKc + 1339
48 Unity 0x016b71b8 main + 24
49 Unity 0x00003295 start + 53
Debug info from gdb:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================