Search Issue Tracker
By Design
Votes
0
Found in
2017.4.11f1
Issue ID
1096369
Regression
No
[Android] Alpha channel is not being captured when OnRenderImage function is being used in the script
To reproduce:
1. Open attached project
2. Build the application to the Android device
Actual result: The Alpha channel is not captured in the android device.
Expected result: The Alpha channel should be captured in the android device.
Reproduced with: 2017.4.11f1; 2017.4.14f1; 2018.2.14f1; 2018.3.0b8; 2019.1.0a7
Tested with:
VLNQA00025, Xiaomi Mi 5s (MI 5s), Android 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
VLNQA00124, Google Pixel 2 XL (Pixel 2 XL), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
Note: if you disable the CheekyCameraBlur script on the BoostRewardDisplayCardCapture prefab, the alpha channel is captured.
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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note (2019.1.X):
Android player settings must have 32-bit display buffer enabled to allow post processing effect with alpha channel.
As stated in https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnRenderImage.html: "Android: Use the Android Player Settings to make changes. Select the Use 32-bit Display Buffer option to use a post-processing effect with the alpha channel, or experience Banding Effects. The alpha channel is not available in a 16-bit Render Texture."