Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.2.0x
Issue ID
1065491
Regression
No
[Backend] Crash on PasteGameObjectPasteboardData when copying GameObject inside sub-prefab across Prefab scenes
How to reproduce:
1. Open the attached "1065491_repro.zip" project
2. Open "Prefabs/Parent" prefab
3. Copy "Nested" prefab from the Hierarchy
4. Open "Prefabs/Child_2" prefab
5. Paste the copied prefab to the Hierarchy
-- Editor crash
Reproducible with - 2018.2.0x-ImprovedPrefabs (ff19e2e229d2), 2018.3.0a7
Note: The issue is only reproducible when copying GameObject that is nested inside sub-prefab in the prefab Hierarchy, and that actually belongs to the sub-prefab (it is present in the Hierarchy when opening the sub-prefab).
Stack trace:
(Unity) PasteGameObjectPasteboardData
(Unity) PasteGameObjectsFromPasteboard
(Unity) Unsupported_CUSTOM_PasteGameObjectsFromPasteboard
(Mono JIT Code) (wrapper managed-to-native) UnityEditor.Unsupported:PasteGameObjectsFromPasteboard ()
(Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\SceneHierarchy.cs:1230] UnityEditor.SceneHierarchy:PasteGO ()
(Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\GenericMenu.cs:121] UnityEditor.GenericMenu:CatchMenu (object,string[],int)
(Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___object_object_int (object,intptr,intptr,intptr)
(mono) [c:\buildslave\mono\build\mono\mini\mini.c:4937] mono_jit_runtime_invoke
(mono) [c:\buildslave\mono\build\mono\metadata\object.c:2623] mono_runtime_invoke
(Unity) scripting_method_invoke
(Unity) ScriptingInvocation::Invoke
(Unity) CustomPopupMenuInterface::Execute
(Unity) MenuController::ExecuteMenuItem
(Unity) ShowDelayedContextMenu
(Unity) GUIView::OnInputEvent
(Unity) GUIView::ProcessInputEvent
(Unity) GUIView::DoPaint
(Unity) GUIView::RepaintAll
(Unity) Application::TickTimer
(Unity) MainMessageLoop
(Unity) WinMain
(Unity) __scrt_common_main_seh
(KERNEL32) BaseThreadInitThunk
(ntdll) RtlUserThreadStart
Fixed in 2019.1.0a5
Backported to 2018.3.0b7
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [AI Assistant] UI Overlap: Permission dropdown menu persists and obstructs "Allow" / "Deny" buttons in AI Assistant window
- Dragging an object under another to set it as the child will rename the parent object if we trigger a rename and start dragging immediately
- UITK WorldSpace ScrollView behaviour on Mobile
- [VisionPro] WebCamTexture fails to capture Persona stream frames
- Some shader variants are not collected when tracing with GraphicsStateCollection
Add comment