Photoshop import with red showing blue

Hello, I have been doing some photoshop work for a client, and on his unity, all the photoshop files I create with some red color will show up as blue. I have switched the color modes around to try and fix the problem, but I cant seem to be able to fix it.

Here is the file he sent me, the red button one is what he sees on photoshop, and the blue is what shows up inside unity :

Any ideas?

The shader he is using?

Hello, this is taken directly from the editor itself, it shows blue in the editor, when using NGUI, he sees the same thing, even after porting the image into an atlas and use it ingame, so i guess its nothing to do with the shader.

Bump, no one know what the hell this is?

in import texture settings, check RGBA instead of ARGB… or something like that, had the same problem

Still looks blue instead of red in the editor window, no matter what setting i choose :frowning:

Bump, still have this problem, anyone knows whats going on? Sick and tired of manually flipping the colors myself.

Sounds like you’re exporting as BGR instead of RGB somehow. Check the settings… not used PS myself unfortunately.

That could be it, anyone know how to change this for photoshop?

Cant seem to find any info on it :confused:

What format are you exporting to from photoshop? Try jpg. If you post the original image or photoshop file maybe we can take a look at it.

Hello, the file can be found here : https://dl.dropbox.com/u/1242729/button3.psd

I am using straight .psd in the project.

That particular one will show the red button as blue

I was having difficulty opening the file in photoshop. I had to flatten the image in order to view it. I exported the image from photoshop to png and put it on a GUI texture in unity. It seemed to look ok.

Did you try importing it directly into unity? Like dropping the photoshop file directly?

It looks like it is blue when I import the photoshop file. I dont know whats causing that though. Just export a png or other file type and it should be ok.

Alright, but would really wanna know whats up with this, importing photoshop files should be supported correctly :confused:

If you create one yourself, does it also look blue instead of red? Or is just my file?

It looks fine when I create one. The only thing that is different is yours says RGBA Compressed DXT5 on the import preview while mine says RGB Compressed DXT1. I have photoshop elements 6.

I am using Photoshop CS6

I have the absolut same problem…
My red stuff is imported as blue.
Can not work with direct Photoshopfiles anymore , too bad :frowning:
hope for fix.
Im using CS5 btw

In photoshop:

Image → Mode → 8 Bits/Channel

Save and re-import into Unity. Any new files be sure to choose color mode: 8 bit.

Shouldn’t lower the quality enough to make a difference. In unity when you select the texture just make sure the format is 16 bits. This seemed to fix it for me.

Can confirm Darkhazard’s suggestion worked for me.