Every time I package and cook a project and put it on my vive, I get the red screen in the vive and the warning on SteamVR that the compositor needs to be fullscreen. Clicking the fullscreen button winds up minimizing the game and returning me to the base SteamVR menu with the night sky around you. As soon as the game is maximized again it red screens once more.
On occasion, instead of a red screen it will show the game environment, but does so as if the headset is still at 0,0,0, or sometimes it puts the game screen on the regular monitor instead of the HMD, which ends up with a view of the desktop instead.
I’ve tried multiple ‘noob proof’ projects like:
all to no avail. I must have a build setting wrong somewhere? There’s no windows overlapping onto the HMD, moving the cursor to it causes red screen or minimizing, adjusting the monitor positions in windows so they’re diagonal doesn’t fix it, so I can’t figure out what this is.
-I thought it needs to be set to full screen for it to work?
-Yes
-No, VR preview does the same error saying the compositor needs to be full screen, and bugs out. I tried doing direct mode, but it always refuses to stick and returns to expanded mode.
The compositor will need to be full screen, but the game does not. Typically, when we test some of our projects, we will run them in Windowed mode, as anything that is running fullscreen seems to have issues with the compositor.
If you’re running the editor in fullscreen as well, it might be worth it to try to scale down the window a bit before running vr preview.
Let me know if that makes a difference for you.
Also, just for reference, here is our Steam VR setup guide. It’s worth taking a look at to make sure that there aren’t any steps you were overlooking.
I’ve followed the setup for it. Now, the preview is working, it was minimizing the engine and once I maximized it again the preview worked.
I think I’ve found the problem with the packaged/cooked version. For some reason it isn’t doing fullscreen properly. A border is overlapping onto the desktop monitor, coming from the HMD monitor. If I make compositor fullscreen it does nothing, but if I click the game icon, the game takes control, but overlaps so I get red eyes. I think its a resolution setting, so maybe running it in a window would work. I’m not sure how to set that up, though.
edit: the VR preview has the same sort of window overlap onto the desktop monitor, so I don’t think that is the case.
@Hollywood Blues Did you manage to solve this problem? I ma having the exact same issue and I am stuck for days. I am getting this even in vr preview. Please reply if you have a solution. Wld appreciate it. thanks.
@Sean Flint Thanks for your response. Okay so here is my issue:
-Enable direct mode never works. Enabling it restarts steamvr, but keeps saying its running in extended mode. GPU doesn’t have a port, so hmd connected to intel. This is my display setting
-At first I get this status below and my vr compositor window is empty( but in my hmd it correctly displays the vive screen(the blue one with planet and stars) that allows me to view my base stations and access the steam vr control panel in vr)
-I - I run UE, and press vr preview. Preview launches but my hmd still shows my VR blue vive screen(the blue one with planet and stars). I then move my cursor and click on my Unreal editor(not on the standalone vr preview window), and then it correctly displays my level in my hmd. Head tracking, screen orientation and everything else works perfect till this point.
-Okay now I stop game and press vr preview again, this time I get compositor is not fullscreen and in my hmd, I see a red background with my base stations still visible. My game is still running in the standalone window and moving my hmd, makes my level orientate accordingly. So I click on my editor again like I did previously, but this time does not work. I then click on my standalone window, and it now looks cross eyed. On both sides, there is a black block. Pls refer to image below.
-Okay say I turn off UE and restart steamvr and UE4, in my compositor I see a red screen( with base stations visible; refer image below) and my steamVR says compositor is not fullscreen. If I click vr preview now, I get the same cross eye issue.
-So the only solution is, to turn off, steamVR, Steam and restart Steam, followed by steamvr. I have to do this everytime.
Try setting your Vive as monitor 1, and ensuring that nothing overlaps that monitor. Example: anything fullscreen on your PC will kick out the compositor and cause the issue you’re seeing.
Ensure that monitor 1 is also on the left when you set the Vive to monitor 1. This happens with older dev kits.
I have the same issue using my laptop. VR Preview makes my window res. Tried everything listed above and nothing. I’ve searched one steam forums and nothing there too. Did someone managed to make this work?