How to reproduce:
1. Open the “OverrideBug.zip“ project
2. Open the “SampleScene”
3. Select the “Test“ Prefab in the Hierarchy
4. Press the three vertical dots on the “Test“ Script Component in the Inspector
5. Click the “PrefabTest“ button in the Context menu
6. Observe the last log of the Console
Expected result: The last Console message reads “Has Prefab Overrides After: False“
Actual result: The last Console message reads “Has Prefab Overrides Before: True”
Reproducible in: 2021.3.46f1, 2022.3.52f1, 6000.0.27f1, 6000.1.0a4
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- Does not reproduce on a non-prefab Asset
- The second time the “PrefabTest“ button is clicked it applies the overrides and returns the expected result
- The behavior can be observed in the Inspector tab as well. When the overrides are not applied, a blue strip appears to the left of the changed field