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.
- [IL2CPP] Building fails when local functions in method with SystemAPI() are used
- Context menu should open on mouse down instead of mouse up on MacOS
- Cannot change Listview/TreeView selection with Right-Click mouse down
- Black screen in the Game view when using Blitter.BlitCameraTexture
- Layout elements are missing when the VFX Graph Window is docked horizontally