Search Issue Tracker
Duplicate
Votes
3
Found in
2018.3.11f1
Issue ID
1147239
Regression
No
Duplicating game object crashes Editor on AwakeFromLoadQueue::DetermineQueueIndex
Steps to reproduce:
1. Open attached "duplicationBug.zip"
2. Place the prefab in Prefabs/Block into the scene
5. Select the block game object which you just placed
6. Press ctrl+d
-Crash
Reproduced on: 2018.3.13f1
Doesn't reproduce on: 2019.1.0f2, 2019.2.0a10
Stack trace:
0x0000000140C4E502 (Unity) AwakeFromLoadQueue::DetermineQueueIndex
0x0000000140C4CAE4 (Unity) AwakeFromLoadQueue::Add
0x0000000140E45BAA (Unity) DirtyAndAwakeFromLoadAfterMerge
0x0000000141247056 (Unity) PasteGameObjectPasteboardData
0x00000001412376F3 (Unity) DuplicateGameObjectsUsingPasteboard
0x00000001423C6AD8 (Unity) Unsupported_CUSTOM_DuplicateGameObjectsUsingPasteboard
-
KJoanette
Oct 31, 2019 15:08
This appears to be caused by PrefabUtility.InstantiatePrefab. If you instantiate a prefab with this and then duplicate it it will crash. This does not occur if you place the prefab from the project window.
Add comment
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
This is a duplicate of issue #1194137