• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Mar 04, 2015 at 02:30 AM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by bkevelham · Dec 13, 2013 at 09:21 AM · texturenormalmap

Normal maps turned pink and orange?

Looking at some of our assets in our Android app, I noticed they looked strange and flat. Going back to our asset management project, all the normal map previews are a pink/orange tone. Looking at our assets that does seem to make sense, because the lighting seems flipped.

image

I can however for the life of me not figure out what could cause this to happen. The files are unharmed. And no matter what import settings I use (full size/resized, default import or advanced, compressed/uncompressed, RGBA32/24/DXT5/DXT1/ETC/whatever) the maps remain an otherwise lovely pink/orange tone.

So my question is, what could have caused this? What might I have selected/changed that would cause this to happen? Or is this a (known) issue of some sort? Search has come up empty, besides this particular post which was of no help.

Switching back to a standalone build in the same project, made everything appear as normal once again. Then switching back to Android (with all the reimporting this triggered) the same issue popped up again.

Update: I have chalked this one up to a strange bug and moved on. No amount of reimporting or file format changes would work. Given one of the comments it seems I'm not alone in this issue. Unfortunately I can't recreate the situation in another project, so I don't have anything to share as a bug report. If someone could, please doe so. I ended up recreating the entire project and haven't encountered the issue since.

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Phong · May 30, 2014 at 10:14 PM 0
Share

I encountered the same problem and resorted to the same solution. I copied everything into a fresh project and it now works. This is NOT a problem with the source normal map. All of my normal maps were turned pink, including normal maps in top rated asset store assets.

avatar image Dude_Erino · Jun 05, 2014 at 11:49 AM 0
Share

Exact same problem here as well. Occurs only if switched to mobile platforms. Unfortunately creating a new project from scratch left me with the very same problem. In Standalone build the Normal maps are all fine. On Android/iOS they turn pink-ish and create very wrong results. Flipped all RGB Channels in every possible combination, Created new maps - nothing worked. Aren't NR$$anonymous$$ $$anonymous$$aps supported on mobile? Confused.

avatar image Yolziii · Jul 04, 2014 at 03:34 AM 0
Share

I have the same problem for IPad. I writed my own shader, where I changed the order of axises on ZYX. For now materials with pink shaders look fine, but it still strange and uncomfortable to make own shaders for all materials in the project.

avatar image perevezentsev · Nov 17, 2014 at 10:40 PM 0
Share

I don't have enough reputation but want to mention that I have same problem.

2 Replies

  • Sort: 
avatar image
4
Best Answer

Answer by nution · Jul 13, 2014 at 01:59 AM

The editor just displays them incorrectly when DX11 mode is enabled in PC build settings, for some reason this carries over to mobile. Ive noticed this on Windows. On Mac this doesn't seem to happen.

So in build settings of PC mode, disable DX11 from the PC player settings(Uncheck "Use Direct3D 11"). This should resolve any issues you see when working in iOS or Android mode.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ahn2150 · Jul 15, 2014 at 03:31 AM 0
Share

Oh! Thank you.

avatar image movAX13h · Nov 11, 2014 at 04:18 PM 0
Share

This is still happening in the newest version of Unity and this answer solved it for me. Thanks.

avatar image badc0de · Nov 17, 2014 at 07:52 AM 0
Share

This fix worked for me too (4.6.0b20). Note you don't have to switch platforms, just go into File|Build Settings then click PC, then press player settings. Untick DX11 and normal maps are back to normal (!).

avatar image perevezentsev · Nov 17, 2014 at 10:43 PM 0
Share

Thank you so much. Worked for me as well. We should send bug report for this.

avatar image bkevelham · Feb 27, 2015 at 10:09 AM 0
Share

Absolutely correct. I just had the issue again and this resolved it. Thank you ever so much.

avatar image
0

Answer by YoungDeveloper · Dec 13, 2013 at 09:26 AM

What format is the image in, does it show up pink only when as "normal map" type ? If reimpoting does not work, it must be something with the file not unity

Comment
Add comment · Show 10 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bkevelham · Dec 13, 2013 at 09:34 AM 0
Share

They are jpegs. The thing is, switching to Windows all is fine. The assets are looking good there as well. It's purely the Android build that exhibits this. If you have any idea what to look for in the file itself, I'd love to know. And yes, it's orange only when selecting it to be a normal map. $$anonymous$$aking it a regular texture shows it in all its blue-y goodness.

avatar image Ludeme Games · Dec 13, 2013 at 10:35 AM 0
Share

First of all... don't use jpegs for your source. Use png. Compressing a texture twice is bad, moreso when the compression algorithm isn't designed for vectors (normal map) but eyes (hue and value).

avatar image YoungDeveloper · Dec 13, 2013 at 10:36 AM 2
Share

jpeg is an awful choice for any kind of texture, use png or targa.

avatar image bkevelham · Dec 13, 2013 at 10:42 AM 0
Share

Sure fair enough. Just reporting what the designer delivered. However, it doesn't influence this issue. I tried the switch to other file formats. Same issue.

avatar image YoungDeveloper · Dec 13, 2013 at 12:05 PM 0
Share

It can't be, open that image in photoshop or paint and save as (new file, not overwrite) and choose png. Reimport this new image, and see what it shows.

The texture actually looks more like object space normal map :/

Show more comments

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Import animated normal map 0 Answers

Why is my texture like this? 2 Answers

Normal Map Code word? 1 Answer

Export Normal Map from Selected Mesh 0 Answers

Normal map strange shading lines. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges