Search Issue Tracker
Fixed in 2021.2.X
OnValidate called when Monobehaviour inside Prefab changes
It appears that OnValidate is now called every time a Monobehaviour that belongs to a Prefab changes with AssetDatabase V2.
With V1 this does not happen.
Repro with V2:
2020.2, 2020.1, 2019.4
V1 doest not call OnInvalidate()
ADBV2 should not call OnInvalidate() for every single prefab when a script changes
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Animator with nested avatar root show missing properties in the Animation Window
- System.Threading.Task tasks cause stall when used in WebGL
- [Package Manager] Access denied when installing some packages
- SerializedProperty.DataEquals returns true for two strings that are different
- Prefab is glitchy when editing in Prefab Mode in a custom UI Environment