The game window in Unity runs in 1080p. The build version runs in a tiny window and if I press Alt+Enter it shows full screen but very blurry. How can I resolve this issue?
What I’ve tried so far.
I’ve gone in to my other windows account and ran the game via the original folder. The game ran in full screen.
I’ve taken all the Unity folders and put them on desktop that were in Local / Local Low and Roaming. This made no difference.
I found that there was a folder added in the second Windows profile called Default Company which is created when the game is first ran. I moved this folder out of the locallow folder and this made no difference on a new run of the game on my original Windows account.
It seems the settings are being stored somewhere for each windows account but I have no idea where else to look and how to resolve the issue.
They’re stored in Windows registry, under “HKEY_CURRENT_USER\SOFTWARE<COMPANY_NAME><GAME_NAME>”.
The fact that the Window isn’t resizable is due to your player settings. You can enable resizable window under resolution settings. The window being blurry after ALT+ENTER was actually a bug that I believe we fixed in Unity 2021.2. Which version are you on?
You could always add code to detect invalid resolution config and use Screen.SetResolution from code to change it.
Thanks so much, I’m yet to make another test build and I just found the setting to make the window adjustable, that’ll save me for sure. I’ll let you know how it goes