Search Issue Tracker

Active

Votes

3

Found in

2017.3.0f3

Issue ID

990662

Regression

No

[UnityYAMLMerge] Premerged file crashes unity (GameObject deleted from scene while orphan components are added)

Themes

-

To reproduce:
1. Open attached project "990662crash.zip"
2. Open 1Scene.unity

Expected result: scene is opened
Actual result: Unity crash

Reproduced on: 5.6.4p4 2017.1.3p1 2017.2.1p3 2017.3.0p4 2018.1.0b5

Notes:
5.6.4p4 2017.1.3p1 stack trace:

0x000000014193F103 (Unity) UI::SendIgnoreNextTransformChangedRecursive
0x000000014193F226 (Unity) UI::SendIgnoreNextTransformChangedRecursive
0x000000014193F226 (Unity) UI::SendIgnoreNextTransformChangedRecursive
0x00000001419416BD (Unity) UI::Canvas::SyncTransformParent
0x0000000140917790 (Unity) GameObject::SendMessageAny
0x00000001411EC203 (Unity) ImmediatePtr<Transform>::Transfer<StreamedBinaryWrite<1> >
0x00000001411EC48B (Unity) ImmediatePtr<Transform>::Transfer<StreamedBinaryWrite<1> >
0x00000001411F44CB (Unity) Transform::SendTransformChanged
0x00000001411F4C40 (Unity) UI::RectTransform::UpdatePosAndRectRecursive
0x00000001411F8123 (Unity) UI::RectTransform::SetAnchoredPosition
0x0000000141945B49 (Unity) UI::Canvas::UpdateCanvasRectTransform
0x0000000141946272 (Unity) UI::Canvas::AwakeFromLoad
0x00000001410932B1 (Unity) AwakeFromLoadQueue::InvokePersistentManagerAwake
0x0000000141096699 (Unity) AwakeFromLoadQueue::PersistentManagerAwakeFromLoad
0x00000001410336B7 (Unity) LoadSceneOperation::CompleteAwakeSequence
0x0000000141033B7A (Unity) LoadSceneOperation::CompletePreloadManagerLoadSceneEditor
0x000000014103776A (Unity) LoadSceneOperation::IntegrateMainThread
0x0000000141036868 (Unity) PreloadManager::UpdatePreloadingSingleStep
0x00000001410369FD (Unity) PreloadManager::WaitForAllAsyncOperationsToComplete
0x0000000141520F6A (Unity) EditorSceneManager::RestoreSceneBackups
0x0000000141524CDA (Unity) EditorSceneManager::OpenSceneLoaded
0x0000000141525C64 (Unity) EditorSceneManager::OpenScene
0x000000014174A2B4 (Unity) Application::OpenFileGeneric
0x0000000140065E76 (Unity) OpenAsset
0x000000001683BDAD (Mono JIT Code) (wrapper managed-to-native) UnityEditor.AssetDatabase:OpenAsset (int,int)
0x000000001683BC92 (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\common\editor\AssetDatabaseBindings.gen.cs:275] UnityEditor.AssetDatabase:OpenAsset (int)
0x000000001683BAFB (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\ProjectBrowser.cs:998] UnityEditor.ProjectBrowser:OpenAssetSelection (int[])
0x000000001683B91F (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\ProjectBrowser.cs:1146] UnityEditor.ProjectBrowser:AssetTreeItemDoubleClickedCallback (int)
0x00000000391707D8 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\TreeView\TreeViewController.cs:305] UnityEditor.IMGUI.Controls.TreeViewController:HandleUnusedMouseEventsForItem (UnityEngine.Rect,UnityEditor.IMGUI.Controls.TreeViewItem,int)
0x0000000039166860 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\TreeView\TreeViewController.cs:476] UnityEditor.IMGUI.Controls.TreeViewController:DoItemGUI (UnityEditor.IMGUI.Controls.TreeViewItem,int,single,bool)
0x00000000391655D5 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\TreeView\TreeViewController.cs:621] UnityEditor.IMGUI.Controls.TreeViewController:IterateVisibleItems (int,int,single,bool)
0x000000003915D52E (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\TreeView\TreeViewController.cs:552] UnityEditor.IMGUI.Controls.TreeViewController:OnGUI (UnityEngine.Rect,int)
0x000000003917BE01 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\ProjectBrowser.cs:1759] UnityEditor.ProjectBrowser:OnGUI ()
0x0000000019596F22 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FF9ABF35CE3 (mono) [c:\buildslave\mono\build\mono\mini\mini.c:4937] mono_jit_runtime_invoke
0x00007FF9ABE8849D (mono) [c:\buildslave\mono\build\mono\metadata\object.c:2623] mono_runtime_invoke
0x00007FF9ABE8E9AB (mono) [c:\buildslave\mono\build\mono\metadata\object.c:3838] mono_runtime_invoke_array
0x00007FF9ABE4CE43 (mono) [c:\buildslave\mono\build\mono\metadata\icall.c:2750] ves_icall_InternalInvoke
0x0000000019560367 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
0x000000001955E4C2 (Mono JIT Code) [/Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222] System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
0x000000001962B3CF (Mono JIT Code) [/Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115] System.Reflection.MethodBase:Invoke (object,object[])
0x000000001962B315 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:262] UnityEditor.HostView:Invoke (string,object)
0x000000001962B1B7 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:255] UnityEditor.HostView:Invoke (string)
0x0000000039117B53 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:222] UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x000000003910B59D (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:346] UnityEditor.DockArea:OnGUI ()
0x0000000019596F22 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FF9ABF35CE3 (mono) [c:\buildslave\mono\build\mono\mini\mini.c:4937] mono_jit_runtime_invoke
0x00007FF9ABE8849D (mono) [c:\buildslave\mono\build\mono\metadata\object.c:2623] mono_runtime_invoke
0x000000014107FF65 (Unity) scripting_method_invoke
0x0000000141075781 (Unity) ScriptingInvocation::Invoke
0x0000000140D19C13 (Unity) MonoBehaviourDoGUI
0x0000000140D0C960 (Unity) IMGUIModule::MonoBehaviourDoGUI
0x00000001414C3D5D (Unity) MonoBehaviour::DoGUI
0x0000000141803703 (Unity) GUIView::OnInputEvent
0x000000014008F183 (Unity) GUIView::ProcessInputEvent
0x00000001417FF0D3 (Unity) GUIView::ProcessEventMessages
0x00000001418051A5 (Unity) GUIView::GUIViewWndProc
0x00007FF9F41CB85D (USER32) CallWindowProcW
0x00007FF9F41CB1EF (USER32) DispatchMessageW
0x000000014181D909 (Unity) CrashCallback
0x000000014181F4F4 (Unity) WinMain
0x0000000141B05BCC (Unity) strnlen
0x00007FF9F37F1FE4 (KERNEL32) BaseThreadInitThunk
0x00007FF9F45BEFB1 (ntdll) RtlUserThreadStart

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.