Search Issue Tracker

Fixed in Unity 2018.3

Votes

22

Found in

2018.1.0f2

Issue ID

1034104

Regression

No

[LWRP]LWRP + SPS + Render Texture causes Editor to crash or Editor GUI to disappear

VR

-

-

Priority: 1Fix for next beta/patch release build

-

Severity: 1Crash, freeze, data loss, work stops

Steps to reproduce:
1. Create a new project with LWRP VR template
2. Create a camera that renders to a render texture
3. Enter Playmode

Result: editor windows glitch out(vid included in edit)

Notes:
-On user submitted project, it crashes entirely
-When I disabled the Oculus sensors in Device Manager, I was able to get a crash on a new project setup with steps above

Solution:
The crash was caused by using a render texture with an anti-aliasing sample count that was too high. The user's project used a render texture with 8 samples while LWRP appears to have a maximum of 4 samples. Running this project in 2018.2 would cause the editor to crash. A warning regarding render texture anti-aliasing sampling has been added in 2018.3 on the camera inspector when using LWRP. This issue seems to be completely resolved in 2018.3 with no change to the user's project. The user's project worked as expected in 2018.2 after making the required changes to the render texture.

Comments (3)

  1. 9df2440915ae73bfabf2fd661059666c?d=mm

    Immu

    Aug 20, 2018 16:02

    Is the ' Fixed in future release ' note going to be updated as soon as the release is known ?
    Or do we have to check each changelog for the line that says that this fix is included ?

  2. 511813c19afb93204c4264628622aa08?d=mm

    Liens

    May 15, 2018 06:20

    Forgot to mention the rendertexture camera is a second camera, so multiple cameras are in scene.

  3. 511813c19afb93204c4264628622aa08?d=mm

    Liens

    May 15, 2018 06:19

    Not sure if this is the same bug or not, but in LWRP VR 2018.1.0f2, as soon as I render a camera to a rendertexture all the worldspace UI dissapears but this only occurs in Build, not in Editor.

All about bugs

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