Search Issue Tracker

Fixed

Fixed in 6000.6.0a1

Under Consideration for 6000.0.X, 6000.3.X, 6000.4.X, 6000.5.X

Votes

0

Found in

6000.0.67f1

6000.3.8f1

6000.4.0b8

6000.5.0a7

6000.6.0a1

Issue ID

UUM-134476

Regression

Yes

The OnValidate method is not invoked when reverting changes on a Prefab Variant

Serialization

-

How to reproduce:
1. Open the "PrefabVariantOnValidate.zip" project
2. Select the "Prefab Variant" Prefab Variant in the Project tab
3. Enable the boolean "Change This" in the Inspector
4. Clear the Console
5. Right-click on the bolded label of the changed property and press Revert
6. Observe the Console

Actual result: Nothing is logged in the Console
Expected result: "This is a bug report test" log is displayed

Reproducible in: 2023.3.0a10, 6000.0.68f1, 6000.3.9f1, 6000.4.0b9, 6000.5.0a7
Not reproducible in: 2023.3.0a9

Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: No other environment tested

Note: Unfocusing the changed property will trigger the OnValidate - do not mistake this for a valid result

  1. Resolution Note:

    Fixed in 6000.6.0a1

  2. Resolution Note (fix version 6000.6.0a1):

    Fixed in 6000.6.0a1

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.