Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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...
Resolution Note (2023.2.X):
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...