VR Mirror Strange Problems

Hi! I recently released a demo of a VR game I have been working on for DK2. I never worried about the mirror screen and left everything by default. But now we have been asked to use an unwrapped mirror for video purposes. I read around here, changed things around a bit and finally I used ‘HMD mirror mode 2’ and ‘HMD mirror 960x1080’ together with setting DefaultGameUserSettings with an initial resolution of 960x1080. Everything seemed fine and I uploaded again the game.

But turns out the person asking for this still sees everything with the dual distorted stereo mirror, while in my computer I see it correctly. Stranger yet, If I now execute my previous packaged builds, they now show with a single undistorted eye at 960x1080 resolution!

In addition, if I try to change the mirror settings using commands while in the VR Preview mode in the editor, it behaves erratically, most of the time not showing the changes, unless I stop and start again the VR preview, in that case it shows up as the last configuration I entered in the console.

Are these settings not applied directly, but saved somewhere else directly on the Oculus driver? Is the Unreal Editor messing with me?

For more information, the commands in the packaged game are entered through blueprints. The game is a little bit special, and it starts without VR. I render a simple message instructing to put on the HMD, and then I turn the VR on without mirror so the user can read the message. When the user is ready, I turn the mirror on. All of this is done through simple blueprints too and I fail to see if/how this can be a problem.

Has anyone experienced these kind of problems? I can’t understand how something that should be simple is turning out to be a crazy mess.

Thanks for your time!

After a while I see that the problem is the saved data in the config .inis . The first time the application is launched it generates a lot with the default options, and new versions of the package do not write them over, but rather read them.

I have found there is a -REGENERATEINIS command line option, but I would like to know if

  • is there any way of forcing this somewhere else?
  • or to indicate to use this command line always at startup?
  • or differentiate and discard the config files from older versions of the package?

I have been checking around and have not found anything.

Thanks!