Not sure what caused it, but my VR project suddenly went a bit screwy. I’m noticing that the HMD tracks properly, and the left eye looks normal, but something is off with the right eye. When you look straight ahead with both eyes open, it looks like you are cross-eyed, but when I rotate my head, I can especially tell that something is “off” with the camera matrix for the right eye. When the global setting for “Stereo Rendering Method” is set to “Multi Pass (slow)”, it looks fine. Setting it back to “Single Pass (fast)” makes the right eye wonky again. Has anyone else come across this?
Some troubleshooting findings of interest…
- No other external VR apps / games tested seem to have this issue.
- Opening the SteamVR “example” scene (sea of cubes) in my troubled project will fail (wonky right eye). This makes me think this is NOT due to any of my asset / scripts messing up SteamVR rendering.
- A new clean project with nothing but the SteamVR plugin (v1.2.0) WILL successfully work in “Single Pass” mode.
- In the troubled project, completely re-installing the SteamVR plugin (v1.2.0) will continue to fail (wonky right eye).
- In the new clean project, exporting a package of the working scene into the troubled project will continue to fail in the troubled project (wonky right eye).
- This is the most telling… If I hide my “ProjectSettings” folder (rename folder to “ProjectSettings.Hidden”) and then start up Unity, a new ProjectSettings folder is created (presumably with default values). After starting up the project, the SteamVR “example” scene WILL successfully work in “Single Pass” mode! Closing Unity and replacing my old ProjectSettings brings back the issue.
So based on that last troubleshooting test, I DO have a workaround, but before I start digging into what specific ProjectSetting caused the issue (or rebuilding all my project settings from scratch), I’m curious if anyone else has come across this issue before and knows how to fix it / avoid it in the future. I can pack up and provide a stripped down version of the troubled project if anyone is curious.
OS: Windows 10
Unity: v5.5.0f3 (64bit - Pro)
SteamVR: v1.2.0
HMD: HTC Vive (consumer version)