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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1194137