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
- No character limit when creating a new Scene with excessively long name, Editor can be forced to crash
- Reflection probe not applied when viewing objects up close at certain angles with "Forward+" Rendering Path
- URP Decal Projector flickers/glitches when added to Cube or Quad GameObjects as a Component
- Text "Outline Width" is not shown in the Text Property Preview window in UI Builder when the Text Size is smaller than 19px
- Some text in the Bug Reporter can be semi selected and copied
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."