Search Issue Tracker
Fixed in 2019.2.X
Votes
0
Found in
2019.1.0a12
2019.1.0b3
Issue ID
1127310
Regression
No
B10G11R11 cannot be used a source for async readback
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
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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Resolution Note (fix version 2019.2):
readback from RG11B10 is not supported. There is exception added in 2017.2 about that