Search Issue Tracker
Not Reproducible
Won't Fix in 5.6.X, 2017.1.X
Votes
4
Found in
5.4.0f3
Issue ID
819172
Regression
No
Revert value to Prefab doesn't remove property modifications and doesn't mark scene as dirty
How to reproduce:
1. Open the attached project
2. Open Main scene
3. Select "GameObject" in the Hierarchy
4. Make a modification to the "Float Array" in the Inspector
5. Notice:
- the field is marked as modified (text is bolded)
- scene is marked as dirty (asterisk by the scene name)
- if you open scene in text editor you will see a property modification is present for floatArray.Array.data[N] with the changed value
6. In the Inspector, right click the modified field and Revert Value to Prefab
7. Wait for few seconds and notice the field reverts to the prefabbed value, but is still marked as modified and scene is marked as dirty
8. Save Main.unity and reload it in your text editor
9. Notice a property modification is still present for floatArray.Array.data[N] but with the prefabbed value
10. Go back to the Inspector and notice that reverted field is bolded
11. Right click the modified field and Revert Value to Prefab again
12. Notice that reverted field is not bolded, scene is not marked as dirty and property
Note: If in step 6 you select component and pick Revert to Prefab, value is reverted but not bolded and scene is not set as dirty.
Issue is not reproducible with nested prefabs
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
undersun
Dec 09, 2017 21:10
Reproducible in 2017.2.0f3