Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2018.3.6f1

2019.1.0a1

2019.2.0a1

Issue ID

1129308

Regression

No

FromJsonOverwrite() overwrites default field value to datatype's default when JSON contains field name with incorrect datatype

Serialization

-

Reproduction Steps:
1. Open the project inside "FromJsonOverwrite.zip"
2. Play default empty scene

Expected: "Overwritten" values match together with "Expected" values inside Console window (Overwritten: {"iAmFloat":1.0}, Expected: {"iAmFloat":1.0})
Actual: "Overwritten" values do not match together with "Expected" values inside Console window (Overwritten: {"iAmFloat":0.0}, Expected: {"iAmFloat":1.0})

Reproduces on: 2017.4.20f2, 2018.3.6f1, 2019.1.0b4, 2019.2.0a6

  1. Resolution Note:

    We really appreciate your contribution to the Unity product. Thank you for reporting this issue. We take every case submitted to us seriously by investigating the impact on you, our customer, as well as the impact it may have on the engineering and experience of our product.

    This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.