- Home /
Unity changed my image asset. How do I fix this?
I imported a PNG of all of the textures I want to use in a mobile game and when I went into the sprite editor, I noticed that the edges of the sprites were "fading" into the transparent background - and the transparency changes throughout this "fade". Autodesk Sketchbook does something similar when I open the image in it, but GIMP, MS Paint, and Windows Photos don't. I was going to put pictures of what I'm talking about here, but apparently just one of them is too big. How can I fix the problem? Is there a setting in Unity that I can change so it doesn't add the "fade" or do I have to change the file format and import it again?
I also asked this on Stack Overflow.
EDIT: I created an Imgur album with pictures of my problem. Here it is https://imgur.com/a/6HGm3fy. Also, I made all the textures bigger at one point (before I took the pictures) and that improved the problem, but it didn't fix it.
EDIT #2: Earlier today, I tried messing with anti-aliasing in the quality settings of my project and got this error: "Setting anti-aliasing of already created render texture is not supported!" I didn't think I had any render textures - just regular textures - but when I double-clicked the error, an unnamed render texture with an illegal size (55x110 pixels) showed up in my inspector. Changing its settings doesn't seem to do anything, but in the inspector, it still looks like it was changed. What am I seeing?
on your texture there's a filtering option. make sure it's set to Point (not bilinear)
Answer by Satton38 · Nov 29, 2019 at 09:16 AM
please check-off the "Alpha Is Transparency" at "Advanced" in the texture's Inspector.
I tried that. It didn’t fix the gradient problem (that’s what I’m talking about).
Answer by cgklutts · Dec 23, 2019 at 12:00 AM
Your link is broken. I'm not sure what program you are using to create your sprites.. but the image color space can have drastic changes from program to program. You change the image color space in the 2D drawing software ... not unity.
Sorry the link was broken. I don't know what happened because it works fine on Stack Overflow and it's the same link. I was using GI$$anonymous$$P to create the sprites. Here's the Stack Overflow question: https://stackoverflow.com/questions/59079559/unity-changed-my-image-asset-how-do-i-fix-this
Your answer
Follow this Question
Related Questions
Problems With NGUI on MAC 1 Answer
Amazon Web Services inside Unity Webplayer 0 Answers
Can't add a skybox 0 Answers
How do I tile a 256x256 photoshop image onto a plane, 10x10? 1 Answer
Perserve Image quality? 0 Answers