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
- Diagnostics logs are missing, duplicated, or out of order when viewing Player sessions in Cloud Diagnostics
- Prefab Overrides “Apply” button is too big and overlaps with the context menu’s outline
- Prefab Overrides “No Overrides” text is too large, and the the Context Menu of the Parent GameObject has a lot of empty space when opened
- “Screen position out of view frustum...” errors are thrown when zooming out in the Scene view after creating UI GameObject
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
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)