Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.3.X

Votes

0

Found in

2019.3.3f1

2020.1

2020.1.5f1

2020.2

2021.1

Issue ID

1288394

Regression

Yes

Crash on Transform::SetSiblingIndexInternal when duplicating or copy-pasting a GameObject with HideInHierarchy flag

Scene Management

-

How to reproduce:
1. Open the attached project (case-1288394.zip)
2. Open the 'School' Scene
3. In the Hierarchy window select the 'Wall' GameObject and duplicate it (Ctrl + D) or copy-paste it

Reproducible with: 2019.3.3f1, 2019.4.15f1, 2020.1.12f1, 2020.2.0b10, 2021.1.0a5
Not reproducible with: 2018.4.29f1, 2019.3.2f1

First lines of the stacktrace:
0x00007FF624D9BC38 (Unity) Transform::SetSiblingIndexInternal
0x00007FF625B85E6B (Unity) PasteGameObjectPasteboardData
0x00007FF625B777A6 (Unity) DuplicateGameObjectsUsingPasteboard
0x00007FF626B5351E (Unity) Unsupported_CUSTOM_DuplicateGameObjectsUsingPasteboard

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a7

  2. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.6f1

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.26f1

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.