Search Issue Tracker
Fixed in 1.7.3-preview
Votes
3
Found in [Package]
2019.4
2020.3
2021.1
2021.2
2021.2.0b3
2022.1
Issue ID
1350961
Regression
No
Json serialization fails when object contains a nullable value type field
How to reproduce:
1. Open the user's attached project and Scenes/SampleScene scene
2. Observe the Console window
Expected result: there are no errors
Actual result: "ArgumentOutOfRangeException: Specified argument was out of the range of valid values." error appears
Reproducible with: 1.0.0-preview.5 - 1.7.1-preview (2019.4.29f1, 2020.3.15f1, 2021.1.16f1, 2021.2.0b5, 2022.1.0a4)
Comments (1)
-
goncalo-vasconcelos
Aug 27, 2021 11:01
The error occurs when an object contains a nullable valuetype field, but not when the nullable valuetype is a builtin type.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 1.7.3-preview):
Fixed in: 1.7.3-preview (available in 2020.1.0f1 and above)