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
- Multiple exceptions are thrown after exiting Play mode when Layout Group component is displayed in Debug Inspector and Padding section is expanded
- ScrollView elements are not restored to their original positions after removing a Layout Group with Undo action
- "Assembly with name already exists" errors are thrown when two packages with different technical names resolve to the same namespace
- A Select Scene Entry is added to Undo History when Deleting while a Scene is selected in the Hierarchy
- The Add Component Menu's back arrow accumulates phantom levels when the Menu is repeatedly opened into a Category and closed without selecting
Add comment