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
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
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."