Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2021.3.21f1
2022.2.11f1
2023.1.0b8
2023.2.0a6
Issue ID
UUM-30453
Regression
Yes
Rid values are changing when trying to override a serialized managed reference value
Reproduction steps:
1. Open the attached project “SerializedRefsTest”
2. Open the “Assets/Scenes/SampleScene” scene
3. In the Hierarchy window select “TestPrefab” Game Object
4. In the Inspector window in script “Test” under the “Child” dropdown change the value of the “Dummy Value” field
5. Click on the Overrides and Apply all.
Expected result: The values of prefab are overridden
Actual result: The Console throws an error “Trying to update the managed reference registry with invalid propertyPath”
Reproducible with: 2021.3.21f1, 2022.2.0a11, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6
Not reproducible with: 2020.3.46f1, 2022.2.0a10
Reproducible on: macOS 13.1 (Intel), Windows 10
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note:
In the case of this example a SerializeReference instance is replacing an existing instance, which implies the existing instance is no longer there. Old PropertyModifications targetting that previous instance will no longer apply.
However if you only had a PropertyModification changing the value of the field and applying this down it would work as the user expects in the context of this bug description.
Resolution Note (2023.2.X):
In the case of this example a SerializeReference instance is replacing an existing instance, which implies the existing instance is no longer there. Old PropertyModifications targetting that previous instance will no longer apply.
However if you only had a PropertyModification changing the value of the field and applying this down it would work as the user expects in the context of this bug description.