Search Issue Tracker
Fixed in 5.0.X
Votes
20
Found in
4.5.2p1
Issue ID
620787
Regression
No
BackBuffer alpha channel is always set to 1 on android devices
Alpha channel BackBuffer is always set to one on android devices from Unity 4.3
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
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
Sudhir.Singh2k2
Sep 11, 2014 23:47
"The only way to solve this problem right now (that I can see) is to render to an intermediate rt and then blit to the screen as a last step. This might be something we will do behind the scenes in the future if we can find a way of detecting buggy compositors. But as of now you will have to do this yourself."
Can you give example code of how to do this?
bitter
Sep 10, 2014 09:07
This was an intentional change - "Android: 32bit display buffer without alpha is now the default to avoid compositor bugs on android." (rel. notes 4.3)
The thing is that a lot of devices have problems using alpha in the screen framebuffer. Prior to 4.3 alpha presence would be random depending on the device. While working on Unity 4.3 a version of JB was released that pretty much screwed up the alpha channel on all devices so at that point we decided to make it consistent/deterministic by disabling alpha in the default framebuffer.
The only way to solve this problem right now (that I can see) is to render to an intermediate rt and then blit to the screen as a last step. This might be something we will do behind the scenes in the future if we can find a way of detecting buggy compositors. But as of now you will have to do this yourself.
ps. I didn't close the bug with "by design" because I would really like to find a solution to this problem.