Search Issue Tracker

Duplicate

Votes

3

Found in

2018.3.11f1

Issue ID

1147239

Regression

No

Duplicating game object crashes Editor on AwakeFromLoadQueue::DetermineQueueIndex

Themes

-

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)

  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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.