This may be a stupid question. I have an exe file. In the project settings, I disabled the set resolution screen and set the default to 1153x536. However, when I play my game, it always runs as 1024x768! I feel like I’m missing something very simple. How can I fix this?
Because you are changing the scene view resolution. It has no effect whatsoever on the game. If you really want to force the user to 1 resolution, you could search up on how to remove the resolution selection from the options menu on the start of the game.
Then make a new C# script and call it “Force Resolution” then add it to an empty GameObject in your scene.
public int Width;
public int Height;
public bool FullScreen = true;
void Start()
{
Screen.SetResolution(Width,Height,FullScreen);
}
hope this helps