I have a toggle in my options for Full Screen. Toggling it sets Screen.fullScreen = true/false. When my game is windowed, the Screen.width returns the window’s width as expected, and Screen.currentResolution.width returns 1920, my monitors current resolution.
The problem is that when I set Screen.fullScreen to true, Screen.currentResolution.width becomes the smaller window’s width. The game becomes letterboxed while at full screen. How do I “forget” those old window settings and just make the game run full screen?
Since Screen.currentResolution is only returning correct values while windowed, you need to switch to windowed mode, save the values from Screen.currentResolution, and then switch to fullscreen with those values.