Empty fields from LoadingScreenEditor were writing NaN in the project which leads to serialization error.
In ProjectPropertiesDialog, empty field were not causing any issue, but fields with a minimal value of 1 could be set to 0 as NaN go though max and was serialized as 0
Fixes:
https://forum.gdevelop.io/t/changing-minimum-loading-screen-duration-corrupts-file/57243
Empty fields from
LoadingScreenEditor
were writing NaN in the project which leads to serialization error.In
ProjectPropertiesDialog
, empty field were not causing any issue, but fields with a minimal value of1
could be set to0
asNaN
go thoughmax
and was serialized as0