Search Issue Tracker
Fixed in 2022.3.46f1
Fixed in 2022.3.X, 6000.0.X, 6000.0.17f1, future release
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}
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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Resolution Note (fix version 2022.3):
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.