Search Issue Tracker

Fixed in 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

-

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 (4)

  1. 48381a515479b39da8cc48d5494e02c9?d=mm

    loosecanonstudios

    Mar 26, 2019 19:51

    I built a project in 2018.2, and have since upgraded to 2018.3.10. When I add a camera and apply a render texture to it, the editor windows all go blank. Only for the Windows build - Android build works fine. At one point, I was using the LWRP in this project, but am not now.

  2. 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 ?

  3. 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.

  4. 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.

Add comment

Log in to post comment

All about bugs

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