Reproduction steps:
1. Open the attached project "repro51472.zip"
2. Open "SampleScene"
3. Click the ">" next to "PrefabWithManagedRefs" in the Hierarchy to open Prefab context view
4. Enable "Show Overrides" in the Scene view header
Expected result: no errors or crash
Actual result: Crash on 2021.3, on other streams three errors are thrown:
DrivenPropertyManager has failed to register property "aManagedReference.rid" of object "PrefabWithManagedRefs" with driver "". The property doesn't exist.
Trying to update the managed reference registry with invalid propertyPath(likely caused by a missing reference instance)'managedReferences[5559446744900304897].someNumber', with value '0'
Trying to update the managed reference registry with invalid propertyPath(likely caused by a missing reference instance)'managedReferences[5559446744900304897].someText', with value ''
Reproducible with: 2021.3.29f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b4, 2023.3.0a2
Reproducible on: macOS 13.4.1 (Intel), Windows 10 (user’s)
Not reproducible on: No other environment tested
First lines of the stack trace:
0x00007ff793dd5a79 (Unity) ExtractPropertyModificationValueFromBytes
0x00007ff793dcaf2c (Unity) ExtractPropertyValueFunctor::operator()
0x00007ff793dc0251 (Unity) ApplyPropertyRecurse<ExtractPropertyValueFunctor>
0x00007ff793dc06d4 (Unity) ApplyPropertyRecurse<ExtractPropertyValueFunctor>
0x00007ff793dd57a9 (Unity) ExtractPropertyModification
0x00007ff793e095c2 (Unity) DrivenPropertyManager::AddProperty