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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment