Skip to content

ScaleFill transparency not working on Android device #11

@BernoAU

Description

@BernoAU

Description of the bug

I use ScaleFill to fit a texture to a plane without changing its aspect ratio.
The following is called to fit the texture to the desired size with a transparent background.
tex = TextureOps.ScaleFill(tex, texSize, texSize, new Color32(0, 0, 0, 0));

The code works on Unity Editor, PC Standalone, iPhone 12 iOS 26.
Image

It fails on a moto e plus Android version 9.
Image

Reproduction steps
Take a texture with transparency and call TextureOps.ScaleFill
Assign the texture with following code:
mat.mainTexture = tex;

Platform specs

  • Unity version: 2022.3.62f3
  • Platform: Android 9
  • Device: moto e plus(XT2025-1) Android 9
    • How did you download the plugin: GitHub

Additional info
No errors reported.

Have tried solutions from this thread with no luck:
https://discussions.unity.com/t/graphics-blit-not-working-for-android/704027/7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions