[1.1.69] [modded] hard crash when disabling "no mods" after error
Posted: Fri Oct 07, 2022 7:29 am
Cause: An edit of a style in data.raw["gui-style"].default which results in an error. E.g.:
Outcome (with error gui after data):
1) Click "Disable listed mods"
2) hard crash
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.
Code: Select all
data.raw["gui-style"].default["a_inner_frame"].height = -1
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:
•
2) hard crash
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.