##Problem
Using the VR Editor mode with r.ScreenPercentage other than 100 produces a view problem, like it isn’t adapted to the screen, allowing us to see the black borders outside the viewport area. Also, it’s displayed like that in the HMD display (I use , don’t know about Oculus), so it becomes impossible to work.
##Reproduction steps
- Launch the editor with VR enabled.
- Open the console command line and type
r.ScreenPercentage 150
or any value other than 100. - Enter the VR Editor mode.
Tested in two different projects, same effect.
##Workarounds
One workaround is to use r.ScreenPercentage 100
while working in the editor.
In order to have it always working, if r.ScreenPercentage is being set to other values in DefaultEngine.ini, I found that r.ScreenPercentage.VREditor 1
solves it, with correct percentage and screen alignment. Might be by design, but if so, r.ScreenPercentage.VREditor should be on by default. I added it to my DefaultEngine.ini.
DefaultEngine.ini
[SystemSettings]
r.screenpercentage=130
r.ScreenPercentage.VREditor=1