Page 1 of 1

[1.1.69] [modded] hard crash when disabling "no mods" after error

Posted: Fri Oct 07, 2022 7:29 am
by Honktown
Cause: An edit of a style in data.raw["gui-style"].default which results in an error. E.g.:

Code: Select all

data.raw["gui-style"].default["a_inner_frame"].height = -1
Outcome (with error gui after data):

Code: Select all

   9.363 Mods to disable:Failed to load mods: Error while loading gui-style prototype "default" (gui-style): Value (-1.000000) outside of range. The data type allows values from 0 to 4294967295 in property tree at ROOT.gui-style.default.a_inner_frame.height

Mods to be disabled:
• 
1) Click "Disable listed mods"
2) hard crash
disable-no-mods-crash.txt
(5.27 KiB) Downloaded 135 times

Expection: Do not crash and disable no mods because none are listed. No reason necessary, though "unable to determine mod(s) involved" e.g could cover errors from those prototype classes that have one prototype of default.

Re: [1.1.69] [modded] hard crash when disabling "no mods" after error

Posted: Fri Oct 07, 2022 3:42 pm
by Rseding91
Thanks for the report. It's now fixed for the next release.