Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.3.X, 2020.1.X

Votes

13

Found in

2019.2.0a5

2019.2.3f1

2019.3.0a1

2020.1.0a1

Issue ID

1181415

Regression

Yes

[XR][URP] Editor crashes with RenderTexture::SetActive when entering the Play Mode with Target Texture set to a Render Texture

XR SDK

-

How to reproduce:
1. Open the user's project
2. Enable the VR Support in the Player settings
3. Enter the Play Mode

Result: Editor crashes with RenderTexture::SetActive

Reproducible with 2019.2.0a6(LWRP 5.2.3), 2019.2.4f1(LWRP 6.9.1), 2019.3.0b2(URP7.0.1), 2020.1.0a3(URP 7.0.1)
Not Reproducible with 2018.4.8f1(LWRP 4.10.0), 2019.1.14f1(LWRP 5.16.1), 2019.2.0a5(LWRP 5.2.3)

Last 5 lines of the stack trace:
0x00007FF6E214785A (Unity) RenderTexture::SetActive
0x00007FF6E214418E (Unity) RenderTexture::ForceClear
0x00007FF6E214320C (Unity) RenderTexture::Create
0x00007FF6E21435CB (Unity) RenderTexture::Create
0x00007FF6E2143E75 (Unity) EnsureRenderTextureIsCreated

  1. Resolution Note (fix version 2020.2):

    Fixed with 2020.2.0a5, backported to 2020.1.0b4, 2019.3.15f1

Comments (5)

  1. paul_hayes

    Jun 10, 2020 14:24

    Happening for me too. Interestingly seems fine if using a newly created Asset RenderTexture ( Rather than one created in code ), problem starts happening after relaunching project.

    2019.3.14f

  2. zackblack

    May 21, 2020 15:49

    Another month has gone by and I still cannot release my VR game demo because of this crash. Please re-open issue #1181415. Unity team, PLEASE: I am getting so tired of these bugs getting fixed in BETA/ALPHA builds (Unity 2020), but NOT backported to the current "stable" release builds (2019.3). This bug was reported 7 months ago and still not fixed in 2019.3. I am currently unable to use a render texture in my VR project.

  3. artgatevr

    May 14, 2020 14:26

    tested on 2019.3.13, 2019.3.12, & 2019.3.11 still crashing...

  4. zackblack

    Apr 26, 2020 12:36

    Please re-open issue #1181415. Unity team, PLEASE: I am getting so tired of these bugs getting fixed in BETA/ALPHA builds (Unity 2020), but NOT backported to the current "stable" release builds (2019.3). This bug was reported 7 months ago and still not fixed. I am currently unable to use a render texture in my VR project.

  5. Jamy4000_Absolute

    Feb 12, 2020 14:14

    Still crashing on Unity Editor 2019.3.0f6, URP 7.1.8.

Add comment

Log in to post comment