Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
5
Found in
2019.1.0b3
Issue ID
1127082
Regression
No
Unsupported formats for Async GPU readback
R16G16B16A16_Unorm should be supported for AsyncGPUReadback
Step:
1. Open repro project, hit play
2. Observe console about error saying RGBA16Unorm is not supported for AsyncGPUReadback
Reproducible in: 2019.2.0a5, 2019.1.0b4
Comments (1)
-
RPSpicer
Dec 05, 2019 20:58
Same issue here -- 2019 seems to remove ReadPixels support for a lot of formats that are relevant to my use case. As of 2019.2.15f1, on DirectX11, the following code snippet:
[ Test ]
public void ReadbackSupport()
{
var read_formats = System.Enum.GetValues( typeof( GraphicsFormat ) ).Cast<GraphicsFormat>()
.Where( f => SystemInfo.IsFormatSupported( f, FormatUsage.ReadPixels ) )
.ToArray();
Debug.Log( string.Join( "\n", read_formats ) );
}returns only the following formats:
R8G8B8A8_SRGB
R8G8_UNorm
R8G8B8A8_UNorm
R16_UNorm
R16_SFloat
R16G16B16A16_SFloat
R32G32B32A32_SFloat
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
We will investigate into the bug that R16G16B16A16_Unorm should be supported for Async GPU Readback.
To check what formats are supported for Async GPU Readback, User can use SystemInfo.IsFormatSupported(format, FormatUsage.ReadPixels)