unity-xr-plugin icon indicating copy to clipboard operation
unity-xr-plugin copied to clipboard

Stereo rendering mode reverts to single pass instanced after exiting play mode in Unity 2020.1.1

Open montoulieu opened this issue 5 years ago • 6 comments

Hey there, I've been running into an issue with Unity 2020.1.1 where the stereo render mode will revert to single pass instanced every time I exit play mode.

My initial issue was using any post processing effects on single pass instanced and it producing a gray blank screen while in play mode.

Switching to multi pass allows those effects to work properly, but like I said, it reverts back to single pass instanced every time I exit play mode which clearly seems off.

Currently using SteamVR Unity Plugin v2.6.1 and OpenVR XR Plugin v1.0.1

Any help would be greatly appreciated, Thanks!

montoulieu avatar Aug 06 '20 19:08 montoulieu

Sorry you’re having issues with this. Did you set the stereo render mode in code or in the xr management ui?

On Thu, Aug 6, 2020 at 12:39 PM Pieter Montoulieu [email protected] wrote:

Hey there, I've been running into an issue with Unity 2020.1.1 where the stereo render mode will revert to single pass instanced every time I exit play mode.

My initial issue was using any post processing effects on single pass instanced and it producing a gray blank screen while in play mode.

Switching to multi pass allows those effects to work properly, but like I said, it reverts back to single pass instanced every time I exit play mode which clearly seems off.

Currently using SteamVR Unity Plugin v2.6.1 and OpenVR XR Plugin v1.0.1

Any help would be greatly appreciated, Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/unity-xr-plugin/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQQMAIOR4TOZJDCICY5PLR7MBFVANCNFSM4PW5FCVQ .

keithbradner avatar Aug 06 '20 19:08 keithbradner

Thanks for the quick response! Only trying to set it in the xr management ui at the moment.

montoulieu avatar Aug 06 '20 19:08 montoulieu

Looks like it isn't auto saving properly. For now you should be able to change it then hit Ctrl-S or File -> Save and it should stick. We'll get that fixed in the next version.

keithbradner avatar Aug 06 '20 23:08 keithbradner

Ah sick, that totally did it. Thanks again for the quick solution. 👍

montoulieu avatar Aug 07 '20 00:08 montoulieu

Strange, on further inspection this only happens if you have the XR Management window open when you leave Play mode. If you set the setting, and then close the window, it should stick.

keithbradner avatar Aug 07 '20 00:08 keithbradner

Ah very weird. I do have the Project Settings open at all times on the bottom corner of one of my monitors, so that totally checks out.

montoulieu avatar Aug 07 '20 00:08 montoulieu