Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

0

Found in

2018.4

2019.3.15f1

2021.1

Issue ID

1295010

Regression

No

[SRP] Editor crashes when creating a RenderTexture with TextureDimension set to CubeArray

Texture

-

How to reproduce:
1. Open the attached "TestCubemap.zip"
2. Open the "EuphoriaPipeline.cs" script
3. Uncomment the "m_CubeFaceTexture2.Create();" line (line 22) in the "EuphoriaPipeline.cs" script
4. Save the script
5. Go back to the Editor

Expected result: No crash occurs
Actual result: The Editor crashes

Reproducible with: 2018.4.30f1, 2019.4.16f1, 2020.1.16f1, 2020.2.0b14, 2021.1.0a8
Could not test with: 2018.4.30f1 (Creating SRP not supported)

Note:
- The issue is also reproducible with Tex2DArray and Tex3D TextureDimension

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.2.0a1

  2. Resolution Note (fix version 2022.1):

    Fixed on 2022.1.0b3

  3. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.9f1

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.