Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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 /
avatar image
0
Question by Teadaddy · Oct 12, 2015 at 04:37 PM · shaderwaterpink

materials turned pink, others oversaturated

I have been working on this project for a few months now with no issue, until the last build, when the first build looks fine, but the second one has bright pink where the water shader is used, and is oversaturated elsewhere. The normals also appear to have been increased (see dirt in terrain) . I did not change anything about the package, but only added another level in the build.

I have built this many times without issue at the same settings. Any ideas about troubleshooting this issue would be appreciated.

Thanks!

ocenv.png (191.2 kB)
ocenv-dark.png (188.4 kB)
Comment
Add comment · Show 5
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 DiegoSLTS · Oct 12, 2015 at 06:49 PM 0
Share

Please, add some more info.

Which platform are you building for? What shader is used in the pink materials? How are the rest setup? Have you updated Unity recently? What do you mean by "first build looks fine, but the second one..."? The problem starts after you do a second build? So if you restart Unity it works fine for the first build? It only happens on builds or inside the editor too?

avatar image Teadaddy DiegoSLTS · Oct 12, 2015 at 07:10 PM 0
Share

these were built for desktop PC. The shader I used was a pretty simple water shader that has worked correctly for some time now through several builds. I have not updated recently and am running 5.0.2. I did two builds, in one I have only the scene shown in the image attached, in the other I included a second scene, and that is the one where the trouble began, however I have built these two scenes together several times in the past without problems. Now the assets are all like this (pink or saturated ) when I open either scene (or any of the local backups) it is inside the editor as well. I can drop back to other backups, so I am not totally hosed, but I would like to understand what happened.

avatar image sys12 · Oct 12, 2015 at 06:51 PM 0
Share

Check the error log. This might be caused by shader error.

avatar image tanoshimi · Oct 12, 2015 at 07:20 PM 0
Share

"Pink" (magenta) is the colour Unity uses when there's a problem with the material assigned to an object. It could be a missing texture, a shader compilation error.... there should be more information in the log.

avatar image Teadaddy tanoshimi · Oct 12, 2015 at 07:43 PM 0
Share

I found the error with the water shader and replaced it. Any idea why the other textures changed? it seems like the light ones lightened, the dark ones darkened, all are over saturated and the normals increased. It is almost as if they were "multiplied" or overlaid. Thanks

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

31 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Water shader is pink 3 Answers

How to adjust the transparency of the shader? 0 Answers

Unity Water Shadows? 0 Answers

Standalone works, WebGL doesn't; shader problem?,Standalone version works, WebGL doesn't. Shader problem? 1 Answer

Help with making a water shader receive light 1 Answer


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