VR Editor view problem with r.ScreenPercentage != 100

##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

Hello RVillani

I was able to reproduce this issue on our end I have written up a report and I have submitted it to the developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: Unreal Engine Issues and Bug Tracker (UE-52896)

Make it a great day