Search Issue Tracker

Active

Votes

4

Found in

Issue ID

1271820

Regression

No

OnValidate called when Monobehaviour inside Prefab changes

Asset Import Pipeline

-

From this forum post:
https://forum.unity.com/threads/asset-pipeline-v2-script-reimport-performance.784322/#post-6134054

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()

Expected:
ADBV2 should not call OnInvalidate() for every single prefab when a script changes

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.