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
4
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
-
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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)