Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.67f1
6000.3.8f1
6000.4.0b8
6000.5.0a7
Issue ID
UUM-134473
Regression
No
Prefab Variant does not get updated when changes are made on "OnValidate" method
How to reproduce:
1. Open the “PrefabVariantOnValidate.zip“ project
2. Open the “Prefab” and “Prefab Variant” in Notepad
3. Observe that there are no mentions of “m_serializedGuid“ in any file
4. Select the “Prefab” in the Project tab
5. Add the “Prefab Guid“ Script Component in the Inspector
6. Select the “Prefab Variant” in the Project tab and observe that there is a “Prefab Guid“ Script Component attached, and the GUIDs are different on both the “Prefab” and the “Prefab Variant”
7. Save the changes, and search for “m_serializedGuid“ in the opened Notepad for both the Prefab and the Variant
Actual result: Prefab has a serialized property “m_serializedGuid”, while the Prefab Variant does not
Expected result: Both the Prefab and its Variant have the “m_serializedGuid” serialized properties
Reproducible in: 2023.1.0a1, 6000.0.68f1, 6000.3.9f1, 6000.4.0b9, 6000.5.0a7
Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: No other environment tested
Notes:
- If any manual change is made to the Variant after step 5, the “m_serializedGuid“ will be shown in the Notepad as a modification, and only then
- If any change is made to the Variant, the Guid string field can be reverted, and if reverted, it will return to the value of the parent Prefab
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Invalid Blue value in MotionBlurMergeTilePass when objects move at certain speeds
- Physics Debugger displays mouse cursor ray casts when Game view is not open if Input System package is used
- “ArgumentException” error thrown when disabling all columns in Project Auditor's Multi-column panel context menu
- Errors are thrown and contextual menu does not open when right-clicking multiple mixed keyframes in Dopesheet
- Crash on MergeObjectCollection when repeatedly selecting a Prefab Asset in the Project Browser
Add comment