Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.46f1
2021.3.21f1
2022.2.10f1
2023.1.0b9
2023.2.0a7
Issue ID
UUM-30954
Regression
No
SystemInfo.GetCompatibleFormat returns not supported B8G8R8A8_SRGB format and Editor might crash when using it
Reproduction steps:
1. Open the attached project "IN-35263.zip"
2. Make sure the Editor uses OpenGL
3. Open "SampleScene"
4. Enter Play mode
Expected result: SystemInfo.GetCompatibleFormat does not return B8G8R8A8_SRGB
Actual result: SystemInfo.GetCompatibleFormat returns B8G8R8A8_SRGB, Editor might crash
Reproducible with: 2020.3.46f1, 2021.3.21f1, 2022.2.10f1, 2023.1.0b9, 2023.2.0a7
Reproducible on: Windows 11 i7-8700 NVIDIA GeForce GTX (OpenGL 4.5)
Not reproducible on: macOS 12.4 i9 Radeon Pro Vega/Intel UHD Graphics (Metal)
Notes:
1. Crash not reproduced by CQA
2. Error thrown when using this format with a temporary RenderTexture: "ArgumentException: RenderTextureDesc graphicsFormat must be a supported GraphicsFormat. B8G8R8A8_SRGB is not supported on this platform. Parameter name: desc.graphicsFormat"
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
- Erratic Mesh panning behavior in Inspector Mesh Preview when panning fully zoomed out
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note:
the problem here is due to User script not checking the support for correct usage of the graphics format. it checks for sampling usage instead of render...