Preview screen cropped. Why?

When I choose Play from the editor, I get a screen that looks like this:

It does this whether it’s in the current editor window, a new screen, solo or server play. If it’s server play, the second client is full screen. Does anyone know what I set wrong to make this happen? it’s super annoying not to be able to see the full view.

Hey Gooner44,

Bring up your command console and type this ‘r.setRes ResolutionXResolutionf’

An example: r.setRes 1920x1080f = set screen resolution to 1920x1080 fullscreen.

Let me know if this works for you, or if you need further help.

Cheers,

Sadly no help. I tried both in-editor and in-game, but neither did anything. Strangely, it didn’t change the window size at all, let alone fix the strange cropping. Not sure why that would be.

Hey Gooner44,

You mentioned it is fullscreen on the second client when server play is enabled. Have you made any changes is your Level Editor - Play settings?

To find these settings click the dropdown arrow next to the ‘Play’ button, and choose the ‘Advanced Settings.’ This will bring up the options I mentioned which contain window sizes and other controls when playing in the editor.

Advanced Play Options

Let me know if changing these settings resolves your issue, or if you need more help.

Cheers,

Those look like my settings. After digging around and trying it on my laptop, I think this is an issue with a settings file somewhere. On my laptop, it runs fine. Both windows are opened at 1280x720 and display the game in the full window. I think this started by trying to run a dedicated server once which gives me 2 windows. One is full screen and the other is split in 4. For some reason, the split is saved, but the other portions are non-active.

Any idea what settings file I’d want to delete to fix this or is that the wrong direction to look?

Hey Gooner44,

I am glad you seemed to have narrowed-downed the location of the issue. Have you unchecked the ‘Run Dedicated Server’ checkbox, as well as made sure the number of players is set to 1 in the dropdown menu of the Play in Editor button?

If so, also try unchecking the ‘Use Single Process’ which is the last option in your ‘Level Editor - Play’ menu.

Another thing I would check is the ‘Global Default Server Game Mode’ within your project settings under the ‘Maps and Modes’ section.

Maps and Modes Settings

If none of these suggestions work for you, let me know and we can try some other ideas.

Cheers,

I had tried all of those suggestions except the Maps and Modes settings. What I did to fix it was simply rename the Windows folder under Saved/Config directory in the project folder. Had to reset a few things when I started the editor again, but the window displays correctly now.

I think something got corrupted in one of those config files when going from dedicated server and back again. Good to go now, though. Thanks for the help.

My last suggestion was going to be to delete some of your config files so upon reopening your project, the default configs would generate.

You are welcome,