When you open minecraft in fullscreen mode and set gui scaling to 4, then restart and open it in a somewhat smaller window, and then access the video settings, you get an error in the logs:
[Render thread/ERROR]: Error saving option GUI Scale: DynamicException[Value 4 outside of range [0:3] Optional[4]]
Because this will not save the setting, starting it the next time will revert the setting to "auto" which on my system is equivalent to 6 in fullscreen mode and just not what I want.
The problem seems to arise from the fact that the valid range in which the settings saving code is allowed to save, is determined automatically based on the current window size.
One could deteremine that range based on the maximum supported resolution instead.
One could also not try to (re)save the setting if the user hasn't touched it in the GUI.
Also there could be a different setting based on window or fullscreen (or even resolution if one wants to get really nice and fancy, although in case of window sizes this could lead to a lot)
Linked issues
duplicates 1
Comments 5
What Fullscreen resolution and what Window Size are you running this on? I would expect this to happen in the cases where the window is so small that the automatically detected maximum is 3
Thank you for your report!
We're tracking this issue in MC-250486, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
I can't confirm this issue. When I restart and open the game, it still displays as "4".