Search Issue Tracker

Active

Votes

0

Found in

6000.0.63f1

6000.2.14f1

6000.3.0f1

6000.4.0a5

6000.5.0a2

Issue ID

UUM-129100

Regression

No

SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present

-

Reproduction steps:
1. Open the attached project “ReproProj”
2. Open the “/Assets/Scenes/SampleScene.unity“ Scene
3. In Hierarchy, click “TestObject“
4. In Inspector, observe the “Sample Script” Component

Expected result: Drawer reports “Missing reference” when Inspector shows “Missing Shape”
Actual result: Inspector shows “Missing Shape”, but drawer incorrectly shows “No Missing references”

Reproducible with: 6000.0.63f1, 6000.2.14f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Issue is present in CheckMissingPropertyDrawer where SerializationUtility.GetManagedReferencesWithMissingTypes dont return valid values
- When opening Inspector from “TestObject“ in Hierarchy, no “Prefab has missing SerializeReference Types“ warning banner is present, but it’s present when opening the “/Assets/Scenes/TestObject.prefab“ from Project window
- Project contains missing references

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.