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 greatwhiteshark17283 · Jun 21, 2016 at 01:12 AM · shadermaterialimportwaterstandard assets

Standard Asset water material is pink

I imported the Environment standard asset into Unity and the water isn't working. It just turns that pink color that it does when Unity can't find any information for a material. I tried changing the material type to standard and it comes up with some color. But if I leave it at one of the water shaders, it turns pink. How do I fix this?

I also got this error:

Material doesn't have a float or range property '_WaveScale' UnityEngine.Material:GetFloat(String) UnityStandardAssets.Water.WaterBasic:Update() (at Assets/Standard Assets/Environment/Water (Basic)/Scripts/WaterBasic.cs:23)

And the shader has this error:

undeclared identifier 'unity_ObjectToWorld' Compiling Vertex program Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING

Comment
Add comment
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

4 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by greatwhiteshark17283 · Jun 24, 2016 at 12:29 AM

Nevermind, figured it out. The shader had the value "unity_ObjectToWorld" repeated throughout it. I just replaced it with "_Object2World" and it worked. I hope they fix this soon so I don't need to keep changing it everytime I import the asset.

Comment
Add comment · Show 1 · 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 DawnTime · Jul 11, 2016 at 07:42 PM 0
Share

This worked out for me too Thank you very much

avatar image
-1

Answer by thorzeus · Jun 22, 2016 at 09:39 AM

Im using the very latest version of unity personal (64bit).

Comment
Add comment · 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
0

Answer by iMagesBlues · Jun 22, 2016 at 05:11 AM

Can you double check if the Standard Assets package is compatible to your current Unity version. You might have been using an incompatible older version of the package.

Or can you check if you are using the Water (Basic) shader because I think there are a couple of other shaders in the package which requires Unity PRO (That is if you're not using PRO)

Comment
Add comment · Show 1 · 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 greatwhiteshark17283 · Jun 22, 2016 at 02:25 PM 0
Share

Yes, I'm using the latest version of Unity with the default assets. I actually figured out how to fix it and forgot to mark the question as resolved. The shader had the value "unity_ObjectToWorld" repeated throughout it. I just replaced it with "_Object2World" and it worked. I hope they fix this soon so I don't need to keep changing it everytime I import the asset. Thank you for your help, anyway.

avatar image
0

Answer by Deathwalker316 · Jul 23, 2016 at 07:42 AM

This works for all the shaders, btw. Just need to do it for the various scripts and change the instances to _Object2World. Thanks!

Comment
Add comment · 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

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

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

Related Questions

Water Shaders Question 1 Answer

Material doesn't have a color property '_Color' 4 Answers

Imported Materials Are Null 0 Answers

Reflective/refractive 2D material, like static water. 0 Answers

Mesh Obj export/import WITH SHADER REFERENCE 3 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