Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.58f1
6000.2.4f1
6000.3.0b1
6000.5.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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Add comment