Search Issue Tracker

Fixed

Fixed in 2022.2.0b10

Votes

0

Found in

2022.2.0b9

Issue ID

UUM-16534

Regression

Yes

An error is thrown to the console when trying to change the GameObject's inside the Prefab parent in the Awake() method

-

Reproduction steps:

# Open the attached project
# Open the “/Assets/Scenes/SampleScene.unity” Scene
# Enter the Play Mode
# Observe the Console

Expected result: No error is thrown
Actual result: A “Setting the parent of a transform which resides in a Prefab instance is not possible” error is thrown in the Console

Reproducible with: 2022.2.0a13, 2022.2.0b9
Not reproducible with: 2020.3.40f1, 2023.1.12f1, 2022.1.20f1, 2022.2.0a12, 2022.2.0b10, 2022.2.0b11, 2023.1.0a14

Reproducible on: Windows 10 (21H2)

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.