Search Issue Tracker

In Progress

Fixed in 2022.3.22f1, 2023.2.14f1, 6000.0.0b11

In Progress in 2021.3.X

Votes

1

Found in

2021.3.29f1

2022.3.8f1

2023.1.10f1

2023.2.0b4

2023.3.0a2

6000.0.0b11

Issue ID

UUM-46566

Regression

No

Unity crashes on "DrivenPropertyManager has failed to register property" after enabling "Show Overrides" when a managed reference is overridden

--

-

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

  1. Resolution Note (fix version 6000.0.0b11):

    Avoid error when opening a Prefab with an overriden managed reference and Show Overrides is enabled.

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.