Search Issue Tracker

Fixed

Fixed in 2020.3.48f1, 2021.3.26f1, 2022.2.19f1, 2023.1.0b14, 2023.2.0a9

Votes

0

Found in

2020.3.43f1

2021.3.14f1

2022.1.23f1

2022.2.0b16

2023.1.0a19

2023.2.0a1

Issue ID

UUM-21119

Regression

No

Prefab instance is not enabled if RevertPropertyOverride is called during OnEnable

--

-

Steps to reproduce:
1. Open the “prefab_property_modification_bug_test” project
2. Open “SampleScene” scene in Assets/Scenes
3. Move “test” GameObject child “a” GameObject
4. Select “test” GameObject, deactivate and activate it

Expected result: The “test” GameObject activates and a child GameObject “a” reverts its properties
Actual result: To enable the GameObject “test” the GameObject has to be activated twice

Reproducible with: 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a19

Reproduced on: macOS Monterey 12.2 (Intel)

Note: If a parent isn’t a prefab, the issue doesn’t occur

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.