Search Issue Tracker

Fixed in 2018.3.X

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

XR SDK

-

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

  1. cozyurt_unity

    Jul 17, 2020 14:03

    kedi maması köpek maması www.patilimama.com

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

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

  4. Liens

    May 15, 2018 06:20

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

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