I’m busy creating my basic menu system and I’ve added a resolution selection by using “setres” console command to set a resolution. The problem is that I can’t seem to set another resolution other than 1280x720. Not in fullscreen mode. If I use window mode, it seems to work better.
So, if I start the game in 1920x1080, it’s ok. If I then set it to 1280x720, that’s also ok. But if I try to set it back to 1920x1080, it won’t do it. The screen flashes, as if it changes, and ends up back in 1280x720.
Then, if I open the console and type the setres 1920x1080w for window mode, it sets it and then I can go fullscreen and it seems to keep it.
The behavior of setres is just very strange. It doesn’t do what I set it to do accept if I set 1280x720. It seems to love that 1280x720.
I guess my question is, what’s going on?. This can’t be normal behavior. I just wonder if I’m missing something. Why is it forcing 1280x720?.
I have recently experience this also. Have you been able to solve this? If I find a solution I will let you know. Same deal start with higher res, ok/go to lower res, ok/try to select a higher res, stuck. But its when I try to go fullscreen. Hopefully we find an answer.
I don’t have a solution. I thought with 4.4 it worked, but with further testing, it still didn’t work.
In one of the Twitch streams, the one about UMG, they talked about res changes and said that you won’t normally do it through the console, so I’m not sure the “correct” way to do it. I haven’t really followed up on trying to find the answer either, just had bigger fish to fry for now. But I guess that’s a question to ask. How should you be setting your resolution changes if not through the console.
I actually was wondering if there is a way when the player makes a change, in blueprints revert back to default setting somehow and then update resolution so it will be correct. It might not be correct but it might work.
To be honest, I’ve tried this in so many ways with forcing window vs fullscreen back and forth, doing a bunch of stuff in a single event to try and kind of force the res to set but every time I think it works, I keep pushing it and then I find it doesn’t work. The problem is that it’s just random messing up. And I don’t know if you’ve had this happen but sometimes it won’t even go to the res that I try and set, it goes to some other weird res, not even a standard one.
Whatever is going on, it can’t be right. Whether setting res through console is the right way or not, I mean, why it doesn’t set the res I tell it, I don’t know. The command doesn’t work as expected, that’s for sure.
I know they said you would set it through code, meaning there should be a blueprint node for it if you don’t do a C++ project. But I’m sure there isn’t one. Rather I think there isn’t one, I don’t know. I would guess in that video they would have used it if there was one, but they used the console command as well, so not sure.
I don’t know how long it will take for me to figure out but I am going to try and make a plugin that exposes the settings under UGameUserStettings.h I can see the variables in Visual Studio but I don’t think they can be manipulated via console command. I will keep you posted if I figure it out.