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
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
undersun
Dec 09, 2017 21:10
Reproducible in 2017.2.0f3