Search Issue Tracker

Fixed

Fixed in 2020.3.46f1, 2021.3.19f1, 2022.2.5f1, 2023.1.0a25

Votes

0

Found in

2020.3.42f1

2021.3.14f1

2022.1.23f1

2022.2.0f1

2023.1.0a20

Issue ID

UUM-21110

Regression

No

HideFlags.DontSave | HideFlags.NotEditable component on a GameObject still allows applying that component to a Prefab when there is a check if it is already on the GameObject

--

-

How to reproduce:
1. Open the user’s attached project “HideFlags.zip”
2. Open the “SampleScene” Scene
3. Select the “Prefab” GameObject in the Hierarchy
4. Right-click the “Hider” component > Add Component > Apply to Prefab ‘Prefab’
5. In the Project window select the “Prefab” Prefab

Expected result: Component is not applied to the Prefab
Actual result: Component is applied to the Prefab

Reproducible with: 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a20

Reproduced on: Windows 10

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.