Error saving GUI scale option when toggling fullscreen while fullscreen resolution is changed
The bug
When following a sequence of steps involving toggling fullscreen on and off while changing the fullscreen resolution, the following message is logged multiple times:
Error saving option GUI Scale: DynamicException[Value 5 outside of range [0:3] Optional[5]]
I stumbled upon this randomly, and am unsure if this exact sequence is the only cause of the issue.
How to reproduce
- Navigate to Options -> Video Settings
- Ensure the Fullscreen Resolution slider is set as far left as possible
- Toggle Fullscreen on
- Set the GUI scale to the highest possible (not Auto)
- Toggle Fullscreen off
- Set the Fullscreen Resolution slider as far right as possible
- Toggle Fullscreen on
- Set the Fullscreen Resolution slider as far left as possible
- Toggle Fullscreen off
The above error message is logged in the game log multiple times
2022-04-21, 11:51 PM
2023-03-02, 08:20 AM
2023-03-01, 12:46 PM
4
3