Search Issue Tracker
Won't Fix
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
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
- Unity Perforce Integration: VCS Connection Active State Fails via CLI with Valid Inputs
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.