Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Unity 2018.2.02f is ignoring alpha channel.

Discussion in 'General Graphics' started by georgeq, Jul 16, 2018.

  1. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    662
    I have a Photoshop image, it's a white silhouette with transparent background but I just can't make it transparent inside Unity.

    transp01.png

    I have another image with exactly the same parameters but which is actually transparent:

    transp02.png

    The last one was there since 2018.1 and the the first one was imported with 2018.2.02f
     
  2. Torbach78

    Torbach78

    Joined:
    Aug 10, 2013
    Posts:
    296
    interesting, i see it is only RGB; how was this image authored?
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,344
  4. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    662
    May fault, I copy/pasted the image and Photoshop automatically converted it to monochrome which I didn't realize, and it seems alpha only works on RGB images... I think Unity should warn you about this with some kind of warning message, like: "hey, this image is monochrome you can't use alpha".
     
  5. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    662
    My photoshop is a bit old (CS5) this plug in doesn't seem to work with this version.