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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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."