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.
- Treeview is infinitely populating items when using IL2CPP build
- ProBuilder prefab thumbnails do not showcase the prefab when observed in the Project window
- Wrong documentation page is displayed for the "Scene Template Pipeline" help icon
- Missing Device Simulator API
- Shadow gets cut off when in Play Mode and using shader "Shader Graph/Rotation Shader" for material