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