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
Comments (1)
-
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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
This is a duplicate of issue #1194137