Search Issue Tracker
By Design
Votes
0
Found in
2017.1.2f1
Issue ID
980661
Regression
No
In CustomEditor changes to a Prefab's instance, done after Reverting, are ignored, if also a component is added to the Prefab
To reproduce:
1. Open "start" scene in the attached project.
2. Open a window: Problem -> RevertPrefab.
3. Drag "obj" from hierarchy to the obj field, in RevertPrefab window.
4. Press "revert" in RevertPrefab window.
Expected result: obj is reverted to it's prefab, but Scale is not changed.
Actual result: Scale is changed to be the same as prefab's parent.
Reproducible with: 5.6.0f1, 2017.1.2p2, 2017.2.1p1, 2017.3.0f3, 2018.1.0b1
Notes:
When "revert" is pressed, prefabs instance's position, rotation and scale is saved.
A new component is added to the Prefab parent.
Instance of a prefab is reverted.
Previously saved position, rotation and scale is set back to the Instance of a prefab.
It all works fine, only if new component is not added in the same OnGUI update.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment