Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

2022.3.58f1

6000.0.39f1

6000.1.0b7

6000.2.0a4

Issue ID

UUM-98085

Regression

No

Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects

-

Reproduction steps:
1. Open the attached “repro_IN-94988“ project
2. Open the “Assets\Prefabs\Walls\QuestionWall.prefab” Prefab Asset in the Prefab Mode
3. In Hierarchy, expand the "wall_Straight (2)" GameObject and select both “Text (TMP)“ and “Text (TMP) (1)“ children GameObjects
4. Drag them both (reparent) to another parent wall GameObject
5. Observe the crash

Reproducible with: 2022.3.58f1, 6000.0.39f1, 6000.1.0b7, 6000.2.0a4

Reproduced on: Windows 10 (22H2)

Note: Issue is very inconsistent - keep reparenting both “Text (TMP)“ and “Text (TMP) (1)“ GameObjects to another wall GameObject until the crash occurs

First few lines of the stack trace:
0x00007FFACF447C24 (Unity) GameObject::RemoveComponentFromGameObjectInternal
0x00007FFAD0D27F7A (Unity) AttachAddedComponents
0x00007FFAD0D312D2 (Unity) MergePrefabChanges
0x00007FFAD0D11DC6 (Unity) MergePrefabInternal
0x00007FFAD0D10D37 (Unity) MergePrefab

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.