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
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
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...