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
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
-
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
-
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.
-
artgatevr
May 14, 2020 14:26
tested on 2019.3.13, 2019.3.12, & 2019.3.11 still crashing...
-
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.
-
Jamy4000_Absolute
Feb 12, 2020 14:14
Still crashing on Unity Editor 2019.3.0f6, URP 7.1.8.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- OnTriggerExit2D events are not triggered when disabling Collider, despite "Callbacks On Disable" being enabled
- [Android] [Vulkan] UI that is activated after a delay flickers when a Scriptable Render Pass goes over it
- [Linux] Characters are converted to Latin letters when using IME on Linux
- [Ubuntu] Possible for Create menu to show sections with no options inside
- [Usability] Not possible to set Editor Window text colour to be default black without workaround
Resolution Note (fix version 2020.2):
Fixed with 2020.2.0a5, backported to 2020.1.0b4, 2019.3.15f1