Search Issue Tracker

Fixed in Unity 2018.2

Votes

4

Found in

2017.3.0f3

Issue ID

986355

Regression

Yes

Camera.Render() is incorrectly rendering to a RenderTexture when VR is enabled

VR

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

To reproduce:
1. Open attached project ("Bug Report");
2. Open "scene" scene;
3. Make sure VR is enabled (Edit > Project Settings > Player > XR Settings);
4. Enter Play mode;
5. Exit Play mode;
6. Disable VR;
7. Enter Play mode - notice that the view is different.

Expected result: the view is rendered correctly with Camera.Render() when VR is enabled and Allow HDR disabled.
Actual result: Camera.Render() incorrectly renders to the Render Texture when VR is enabled.

Workaround: check "Allow HDR" on Plane's child object camera.

Tested and reproduced on Oculus Rift DK2.

Reproduced on versions: 2017.3.0a1, 2017.3.0p2, 2018.1.0b2.
Not reproduced on version: 2017.2.1p1.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.