Search Issue Tracker

Active

Votes

0

Found in

2021.3.47f1

2022.3.55f1

6000.0.33f1

6000.1.0b1

Issue ID

UUM-92138

Regression

No

Initialization order is incorrect when instantiating GameObject using PrefabUtility.InstantiatePrefab

--

-

How to reproduce:
1. Open the attached “IN-92312” project
2. Open the “SampleScene” and enter Play mode
3. Observe the position of the two cubes

Expected result: Both cubes are placed at coordinates (2, 0, 0)
Actual result: The cube created with Instantiate is placed at coordinates (2, 0, 0), whereas the cube created with PrefabUtility.InstantiatePrefab incorrectly remains at coordinates (0, 0, 0)

Reproducible in: 2021.3.0f1, 2021.3.47f1, 2022.3.55f1, 6000.0.33f1, 6000.1.0b1

Reproducible on: Windows 11
Not reproducible on: No other environments tested

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.