I keep getting this error when I select certain prefabs. The only work around is creating the prefabs again from scratch.
Also when I select the prefab the creates the error a child of that prefab will appear in the scene and disappear when I deselect the prefab in the asset folder.
If I try to drop the prefab in the scene Unity crashes and in the scene I can see some new game objects called “Orphan Transform!!!”.
Here’s the console readout:
Object has multiple transform components. Created dummy GameObject and added transform to it!
UnityEditor.PrefabUtility:InstantiatePrefab(Object)
UnityEditor.GameObjectInspector:OnSceneDrag(SceneView)
UnityEditor.SceneView:CallEditorDragFunctions()
UnityEditor.SceneView:HandleDragging()
UnityEditor.SceneView:OnGUI()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object)
UnityEditor.HostView:Invoke(String)
UnityEditor.DockArea:OnGUI()
[/Applications/buildAgent/work/d3d49558e4d408f4/Runtime/BaseClasses/GameObject.cpp line 676]
(Filename: /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs Line: 222)
Receiving unhandled NULL exception
Launching bug reporter
Obtained 60 stack frames.
#0 0x00000001420670 in tlsf_free
#1 0x000000004c735c in DynamicHeapAllocator<LowLevelAllocator>::smile:eallocate(void*)
#2 0x000000004c943e in DualThreadAllocator<DynamicHeapAllocator<LowLevelAllocator> >::smile:eallocate(void*)
#3 0x000000004beec5 in MemoryManager::smile:eallocate(void*, MemLabelId const)
#4 0x000000004bfe41 in free_alloc_internal(void*, MemLabelId const)
#5 0x000000004fc021 in stl_allocator<char, (MemLabelIdentifier)51, 16>::deallocate(char*, unsigned long)
#6 0x000000004ec9f4 in std::basic_string<char, std::char_traits<char>, stl_allocator<char, (MemLabelIdentifier)51, 16> >::_Rep::_M_destroy(stl_allocator<char, (MemLabelIdentifier)51, 16> const)
#7 0x000000006aa5d4 in std::basic_string<char, std::char_traits<char>, stl_allocator<char, (MemLabelIdentifier)51, 16> >::~basic_string()
#8 0x000000004e76d2 in Unity::GameObject::~GameObject()
#9 0x000000004cf976 in delete_object_internal_step2(Object*)
#10 0x000000007e035a in CommitBatchDelete(BatchDelete)
#11 0x000000007d90ee in DestroyGameObjectHierarchy(Unity::GameObject)
#12 0x000000007dbe05 in DestroyObjectHighLevel(Object*, bool)
#13 0x00000000899f5e in Scripting::smile:estroyObjectFromScriptingImmediate(Object*, bool)
#14 0x00000000d7c3c6 in Object_CUSTOM_DestroyImmediate(ReadOnlyScriptingObjectOfType<Object>, short)
#15 0x0000002214bb51 in (wrapper managed-to-native) UnityEngine.Object:smile:estroyImmediate (UnityEngine.Object,bool) + 0x41 (0x2214bb10 0x2214bba4) [0xa40ac40 - Unity Child Domain]
#16 0x0000002c3d5f16 in UnityEditor.GameObjectInspector:OnSceneDrag (UnityEditor.SceneView) + 0xce6 (0x2c3d5230 0x2c3d5fa8) [0xa40ac40 - Unity Child Domain]
#17 0x0000001fa70598 in UnityEditor.SceneView:CallEditorDragFunctions () + 0x1c0 (0x1fa703d8 0x1fa70630) [0xa40ac40 - Unity Child Domain]
#18 0x0000001fa55287 in UnityEditor.SceneView:HandleDragging () + 0x367 (0x1fa54f20 0x1fa552ee) [0xa40ac40 - Unity Child Domain]
#19 0x0000001f213def in UnityEditor.SceneView:OnGUI () + 0x2fdf (0x1f210e10 0x1f214739) [0xa40ac40 - Unity Child Domain]
#20 0x000000187277bf in (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0x8f (0x18727730 0x1872788a) [0xa40ac40 - Unity Child Domain]
#21 0x000000040ce332 in mono_jit_compile_method
#22 0x0000000430b5ca in mono_runtime_invoke
#23 0x000000043143bf in mono_runtime_invoke_array
#24 0x00000004298b9d in mono_icall_init
#25 0x000000167ca6e0 in (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception) + 0x90 (0x167ca650 0x167ca723) [0xa40ac40 - Unity Child Domain]
#26 0x000000167c953d in System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) + 0x36d (0x167c91d0 0x167c9625) [0xa40ac40 - Unity Child Domain]
#27 0x000000187f81f5 in System.Reflection.MethodBase:Invoke (object,object[]) + 0x4d (0x187f81a8 0x187f8200) [0xa40ac40 - Unity Child Domain]
#28 0x00000012f5db1b in UnityEditor.HostView:Invoke (string,object) + 0x73 (0x12f5daa8 0x12f5db32) [0xa40ac40 - Unity Child Domain]
#29 0x00000012f5da7f in UnityEditor.HostView:Invoke (string) + 0x2f (0x12f5da50 0x12f5da96) [0xa40ac40 - Unity Child Domain]
#30 0x0000001cfc032a in UnityEditor.DockArea:OnGUI () + 0x216a (0x1cfbe1c0 0x1cfc0567) [0xa40ac40 - Unity Child Domain]
#31 0x000000187277bf in (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0x8f (0x18727730 0x1872788a) [0xa40ac40 - Unity Child Domain]
#32 0x000000040ce332 in mono_jit_compile_method
#33 0x0000000430b5ca in mono_runtime_invoke
#34 0x000000006de19e in scripting_method_invoke(ScriptingMethod*, MonoObject*, ScriptingArguments, MonoException**)
#35 0x00000000891f1e in ScriptingInvocationNoArgs::Invoke(MonoException**)
#36 0x00000000879272 in MonoBehaviour::smile:oGUI(MonoBehaviour::GUILayoutType, int)
#37 0x000000013b91e9 in GUIView::OnInputEvent(InputEvent)
#38 0x000000013b4287 in -[GUIOpenGLView doDrag:type:]
#39 0x000000013b4129 in -[GUIOpenGLView draggingExited:]
#40 0x00000092f52d4c in NSCoreDragTrackingProc
#41 0x00000090298f22 in DoTrackingMessage
#42 0x0000009029998f in SendTrackingMessage
#43 0x00000090299326 in DragInApplication
#44 0x000000902981fd in CoreDragStartDragging
#45 0x00000092f51026 in -[NSCoreDragManager _dragUntilMouseUp:accepted:]
#46 0x00000093132bdc in -[NSCoreDragManager dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:]
#47 0x0000009347f3da in -[NSWindow(NSDrag) dragImage:at:offset:event:pasteboard:source:slideBack:]
#48 0x000000013a9d15 in -[DelayedDrag DoStart]
#49 0x000000013a978d in DragAndDrop::ApplyQueuedStartDrag()
#50 0x000000013b93bf in GUIView::OnInputEvent(InputEvent)
#51 0x000000013b4b8d in -[GUIOpenGLView mouseDragged:]
#52 0x00000092e3debc in -[NSWindow sendEvent:]
#53 0x00000092dd9cad in -[NSApplication sendEvent:]
#54 0x000000013bd68f in -[ForwardSendEvent sendEvent:]
#55 0x00000092c1e3bc in -[NSApplication run]
#56 0x00000092c071f8 in NSApplicationMain
#57 0x000000013bd31b in EditorMain(int, char const**)
#58 0x000000013bd6c8 in main
#59 0x000000000038b5 in start
ExecutionEngineException: SIGILL
at (wrapper managed-to-native) UnityEngine.Object:smile:estroyImmediate (UnityEngine.Object,bool)
at UnityEditor.GameObjectInspector.OnSceneDrag (UnityEditor.SceneView sceneView) [0x00000] in <filename unknown>:0
at UnityEditor.SceneView.CallEditorDragFunctions () [0x00000] in <filename unknown>:0
at UnityEditor.SceneView.HandleDragging () [0x00000] in <filename unknown>:0
at UnityEditor.SceneView.OnGUI () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222
