NodeCanvas Forums › Support › CRITICAL: Crashing on API Update with 5.5.1p1
Hello,
I am working on upgrading our Unity engine to version 5.5.1p1 and am experiencing a problem when updating the NodeCanvas API to 2.6.2.
Every time I try to update the API (via the menu, or via the button on the FSMOwner gameobject), Unity crashes. This is my system dump from the crash, it’s the same every time. Not sure what to make of it, but it seems like something is going wrong with a serialization step. Please advise! We use NodeCanvas for just about everything in our game 🙂
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
Process: Unity [7691] Path: /Applications/Unity/Unity.app/Contents/MacOS/Unity Identifier: com.unity3d.UnityEditor5.x Version: Unity version 5.5.1p1 (5.5.1p1) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Unity [7691] User ID: 501 Date/Time: 2017-01-31 09:10:17.323 -0700 OS Version: Mac OS X 10.12.2 (16C68) Report Version: 12 Anonymous UUID: 84B3FFCC-394E-0BC5-69A9-9A918AA42C75 Sleep/Wake UUID: F3702A74-A139-4147-BBB2-63A9385060A8 Time Awake Since Boot: 28000 seconds Time Since Wake: 13000 seconds System Integrity Protection: enabled Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000000d0 Exception Note: EXC_CORPSE_NOTIFY VM Regions Near 0xd0: --> __TEXT 0000000100000000-0000000103fdc000 [ 63.9M] r-x/rwx SM=COW /Applications/Unity/Unity.app/Contents/MacOS/Unity Application Specific Information: abort() called Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fffb2049dd6 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fffb2135787 pthread_kill + 90 2 libsystem_c.dylib 0x00007fffb1faf420 abort + 129 3 com.unity3d.UnityEditor5.x 0x00000001022a2e81 HandleSignal(int, __siginfo*, void*) + 81 4 libmono.0.dylib 0x000000010ab4db2a mono_chain_signal + 75 5 libmono.0.dylib 0x000000010aa95bd6 mono_sigsegv_signal_handler + 210 6 libsystem_platform.dylib 0x00007fffb2128bba _sigtramp + 26 7 ??? 0x00000001040a2108 std::basic_string<char, std::char_traits<char>, stl_allocator<char, (MemLabelIdentifier)66, 16> >::_Rep::_S_empty_rep_storage + 24 8 com.unity3d.UnityEditor5.x 0x000000010229327f scripting_class_has_attribute(MonoClass*, MonoClass*) + 15 9 com.unity3d.UnityEditor5.x 0x0000000101e09cc0 PersistentManager::IsObjectNonTextSerialized(Object*) + 112 10 com.unity3d.UnityEditor5.x 0x0000000101e0904f PersistentManager::WriteFile(std::string const&, BuildTargetSelection, TransferInstructionFlags) + 735 11 com.unity3d.UnityEditor5.x 0x0000000100d6e566 AssetDatabase::WriteSerializedAsset(UnityGUID const&) + 998 12 com.unity3d.UnityEditor5.x 0x0000000100d6edac AssetDatabase::WriteSerializedAssets(std::set<UnityGUID, std::less<UnityGUID>, std::allocator<UnityGUID> > const&) + 60 13 com.unity3d.UnityEditor5.x 0x0000000100d86664 AssetInterface::WriteRevertAssets(std::set<UnityGUID, std::less<UnityGUID>, std::allocator<UnityGUID> > const&, std::set<UnityGUID, std::less<UnityGUID>, std::allocator<UnityGUID> > const&) + 68 14 com.unity3d.UnityEditor5.x 0x000000010232d35c EditorSceneManager::ShouldSaveScenesAndAssets(dynamic_array<UnityStr const*, 8ul> const&, bool, dynamic_array<bool, 1ul>&) + 1836 15 com.unity3d.UnityEditor5.x 0x000000010232c2ad EditorSceneManager::SaveSceneFromScript(UnityScene&, UnityStr const&, bool, bool) + 1101 16 com.unity3d.UnityEditor5.x 0x00000001020f58f0 EditorSceneManager_CUSTOM_INTERNAL_CALL_SaveScene(int const&, MonoString*, unsigned char) + 160 17 ??? 0x0000000120670865 0 + 4838590565 18 ??? 0x000000012067076e 0 + 4838590318 19 ??? 0x000000011fc851a5 0 + 4828189093 20 ??? 0x000000011fc611c2 0 + 4828041666 21 ??? 0x000000011fae6258 0 + 4826489432 22 ??? 0x0000000133059dee 0 + 5150973422 23 ??? 0x0000000133056e6c 0 + 5150961260 24 ??? 0x00000001233d939a 0 + 4886205338 25 libmono.0.dylib 0x000000010aa9785e 0x10aa8e000 + 39006 26 libmono.0.dylib 0x000000010abc211e mono_runtime_invoke + 117 27 libmono.0.dylib 0x000000010abc7ea4 mono_runtime_invoke_array + 946 28 libmono.0.dylib 0x000000010ab86953 0x10aa8e000 + 1018195 29 ??? 0x00000001250254c3 0 + 4915877059 30 ??? 0x0000000125024f1c 0 + 4915875612 31 ??? 0x000000012502fd86 0 + 4915920262 32 ??? 0x00000001253710ec 0 + 4919333100 33 ??? 0x0000000125370fba 0 + 4919332794 34 ??? 0x0000000132eb0616 0 + 5149230614 35 ??? 0x0000000132e100fb 0 + 5148573947 36 ??? 0x00000001233d939a 0 + 4886205338 37 libmono.0.dylib 0x000000010aa9785e 0x10aa8e000 + 39006 38 libmono.0.dylib 0x000000010abc211e mono_runtime_invoke + 117 39 com.unity3d.UnityEditor5.x 0x0000000101dee98d ScriptingInvocation::Invoke(MonoException**, bool) + 125 40 com.unity3d.UnityEditor5.x 0x0000000101a3fee8 MonoBehaviourDoGUI(int, ObjectGUIState&, MonoBehaviour::GUILayoutType, int, ScriptingMethodMono, PPtr<MonoBehaviour>) + 360 41 com.unity3d.UnityEditor5.x 0x0000000101a3e9e9 IMGUIModule::MonoBehaviourDoGUI(int, ObjectGUIState&, MonoBehaviour::GUILayoutType, int, ScriptingMethodMono, PPtr<MonoBehaviour>) + 41 42 com.unity3d.UnityEditor5.x 0x0000000102296204 MonoBehaviour::DoGUI(MonoBehaviour::GUILayoutType, int, int) + 548 43 com.unity3d.UnityEditor5.x 0x00000001026dd384 GUIView::OnInputEvent(InputEvent&) + 932 44 com.unity3d.UnityEditor5.x 0x0000000100cb6550 GUIView::ProcessInputEvent(InputEvent&) + 32 45 com.unity3d.UnityEditor5.x 0x00000001026f4724 -[GUIRenderView mouseUp:] + 100 46 com.apple.AppKit 0x00007fff9ade5146 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1544 47 com.apple.AppKit 0x00007fff9ade4772 -[NSWindow(NSEventRouting) sendEvent:] + 541 48 com.apple.AppKit 0x00007fff9ac6d0a9 -[NSApplication(NSEvent) sendEvent:] + 1145 49 com.unity3d.UnityEditor5.x 0x00000001026e5d35 -[EditorApplicationPrincipalClass sendEvent:] + 277 50 com.apple.AppKit 0x00007fff9a4e94b1 -[NSApplication run] + 1002 51 com.apple.AppKit 0x00007fff9a4b3d80 NSApplicationMain + 1237 52 com.unity3d.UnityEditor5.x 0x00000001026e6488 EditorMain(int, char const**) + 1512 53 com.unity3d.UnityEditor5.x 0x00000001026e6c99 main + 9 54 com.unity3d.UnityEditor5.x 0x0000000100001f04 start + 52 |
Hello,
First of all, I am sorry that this is happening to you. That is the first time I’ve been reported this issue though. The dump log looks quite cryptic as well.
Just so that we rule some possible causes out, is it possible for you to run the Project Updater process while still in Unity 5.4 (or any other prior version) and let me know if the crash (or any other issue) still occurs?
Another thing to please try would be to set the Project Settings/Editor -> Asset Serialization Mode to “Force Text”, close and re-open Unity before running the Updater process. (This is mostly an assumption though, since it looks like the crash occurs after this line “IsObjectNonTextSerialized” in the dump log)
Please let me know on the above.
Thanks in advance!
Join us on Discord: https://discord.gg/97q2Rjh
This is the exact same issue I’m having (see my forum post on this matter here. Was this ever figured out? Tons of FlowCanvas and NodeCanvas use in our entire project, and can’t do anything beyond this. Thanks much!