Search Issue Tracker

In Progress

Fixed in 2022.3.46f1, 6000.0.17f1

Votes

0

Found in

2022.3.28f1

6000.0.0f1

Issue ID

UUM-71811

Regression

Yes

Crash on RenderTexture::Create when opening a specific project

--

-

Reproduction steps:
1. Open the attached project "CrashRepro"

Expected result: The project opens
Actual result: Editor crashes

Reproducible with: 2022.1.0a15, 2022.3.28f1, 6000.0.0f1
Not reproducible with: 2021.3.38f1, 2022.1.0a14

Reproducible on: Windows 10
Not reproducible on: No other environment tested

Note: Crash seems to require some kind of specific setup. The crash could not be reproduced locally with a Nvidia GPU, but crashes consistently with AMD GPU.

First few lines of stack trace:
{noformat}
Obtained 14 stack frames
0x00007ff7c6cd03bf (Unity) RenderTexture::Create
0x00007ff7c6c03e8d (Unity) DoDeferredRenderLoop
0x00007ff7c6c04ae6 (Unity) DoRenderLoop
0x00007ff7c6bc17af (Unity) Camera::DoRender
0x00007ff7c6bc0d45 (Unity) Camera::CustomRender{noformat}

  1. Resolution Note (fix version 2022.3.46f1):

    The project is crashing due to the mirror cameras that render to target textures with format D24_UNorm_S8_UInt, which is not supported on AMD GPUs or on Metal. An immediate workaround is to select 'Enable compatible format` on the render texture, but a fix will be added so that the editor will only output errors in the future instead of crashing.

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.