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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
undersun
Dec 09, 2017 21:10
Reproducible in 2017.2.0f3