Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.1.0b3

Issue ID

1127310

Regression

No

B10G11R11 cannot be used a source for async readback

Graphics - General

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

please ignore initial repro project and use TestReadback.zip attached later
*somewhere deep inside LWRP we decide to use this format for metal - this does not make this issue metal specific

Steps to reproduce:
1. open TestReadback scene and press play

Actual Result:
there may/will be asserts and errors. The most important part is that script attached to camera shows texture copy of RT - they will be very different (to make sure script make sense you can tweak it to use "saner" format)

*please note that you can freely ignore ValidateFormat error if that happens - it is simply logged (not an exception) and it happens because c#-side SystemInfo.IsFormatSupported is very weird

THE reason:
on all platforms AsyncReadback reads data from texture as is and then use ImageReference to do on-CPU conversion. ImageReference works strictly with TextureFormat and not all GraphicsFormat/RenderTextureFormat can be mapped to TextureFormat

please note that repro uses GraphicsFormat.B10G11R11_UFloatPack32 but it will be reproduced with RenderTextureFormat.RGB111110Float

hence i removed regression flag but i keep "first affected version" as i didnt bother to check that way back

Response avatar

Resolution Note:

readback from RG11B10 is not supported. There is exception added in 2017.2 about that

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.