Imported an image to unity as a sprite for a 2D game.
image is 32 x 32 pixel color go![alt text]es all weird
how do i fix this or properly import
thanks in advance!
Neither of those images have anything I'd call weird.
Try unchexking the generate mip maps check box.
I've tried all the solutions above still not working.
Can't believe importing a pixel image is that complicated in unity.
Was pretty easy in gamemaker but I want to develop in unity because I want to learn c# while I make games.
It's not complicated, just turn off texture compression as in Yemachu's answer. (Ideally use truecolor rather than 16 bits, for 100% accurate color, although this will use more memory.)
I have tried and it does not work
Answer by Mr. Mud
Jan 31, 2015 at 10:10 PM
Have you tried changing the "Format" of the image? At the bottom of the import settings, you can select the max size of the image and in which format it should be saved.
I assume it states "Compressed"; try changing it to "16 bits", then click "Apply". This should fix the problem. The downside to this solution is that the texture will take up more memory than it would otherwise... but due to the size of the image this should not pose a problem. (Truecolor should give the same result, though it will use even more memory).
Hope this helps solve your issue.
Answer by saadali211
Mar 20 at 02:19 PM
i have color problem and here is how i fixed it https://youtu.be/eFlZBPc2NG0
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
6 People are following this question.
What's the best art pipeline for 2D animated sprites?
How to set default sprite import settings?
Assigning a Sprite to a Script and creating a Gameobject out of that sprite
How do I get a line renderer to draw over sprites?
Black boarder on transparent sprites