Regarding Resolution settings
Posted: 08 Oct 2023 02:38
by bugger
Regarding Resolution settings
The settings in TiTLE_UI are saved in Settings.json
but,Resolution settings are not saved in Settings.json and revert back to their original values each time.
Why is this done this way? Is there any way to save them to Settings.json?
A customer asked me if it is a BUG to redo the Resolution setting every time the game is launched.
I can't explain it well. (I wish I could explain why we can't)
Re: Regarding Resolution settings
Posted: 08 Oct 2023 09:22
by Elringus
Resolution and screen mode are saved by Unity (how exactly depend on the platform) and it's working fine on my side. If you believe there is a bug in Naninovel, please contact the support: https://naninovel.com/support/#naninovel-support
Re: Regarding Resolution settings
Posted: 09 Oct 2023 13:56
by bugger
Screen.width Screen.height, will be the changed value, but
refreshRate will revert to the original value.
For example, if you change 1024786 120MHZ to 1024786 60MHZ
After restarting the game, the MHZ setting will revert to 1024*786 120MHZ and the MHZ setting will disappear.
Will the change of MHZ setting be saved in your environment?
Re: Regarding Resolution settings
Posted: 09 Oct 2023 15:12
by idaot
That may depend on the platform, if it's not saving then consider making a copy of GameSettingsResolutionDropdown and modify it to store the refresh value in a custom Settings state: https://naninovel.com/guide/state-manag ... stom-state