Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
0
Found in
6000.0.58f1
6000.2.4f1
6000.3.0b1
6000.4.0b9
6000.5.0a1
6000.6.0a1
Issue ID
UUM-117551
Regression
No
SerializeReference does not update references when the generic field type changes
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Open TestBehavior.cs
4. Comment out “public Hex.FieldPoly<ITest> Field;“
5. Uncomment “public Hex.FieldPoly<int> Field;“
6. Save the file
7. In Editor, right-click the Project window and select refresh
8. In Hierarchy, find “Test“ GameObject
9. Drag “Test“ GameObject to the Project window
10. Right-click the Project window, and select “Show in Explorer“
11. Go to the Assets folder
12. Open Test.prefab in text editor
13. Observe the type of m_field
Expected result: “System.Int32“ exists
Actual result: “Hex.Test.ITest“ is present
Reproducible with: 6000.0.58f1, 6000.2.4f1, 6000.3.0b1
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
- Selection highlight is drawn in an Animation Window when clicking in another Animation Window after highlighting items in the first one
Add comment