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 rohitsaini93 · Jan 28, 2017 at 09:07 AM · shadersshadow

Shaders not working

hello This is Rohit Saini In my editor every object seems to be pink not any shadows are working and after build every thing in screen or window is pink .

In console when I select any object in scene there is always an error- SceneView Selected shader is expected to have 7 passes UnityEditor.DockArea:OnGUI() after building of game there is nothing rether than pink color The default skybox is pink when I go to window>lightning>scene>skybox that may result in turning the game view also pink. please solve my problem. alt text

16388883-1831774650427937-1928986542-o.png (208.9 kB)
16326204-1831774320427970-2140226603-o.png (195.3 kB)
Comment
Add comment · Show 10
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 whereswaldo · Jan 28, 2017 at 04:23 PM 0
Share

Have you tried changing the skybox to see if that changes anything?

avatar image Scoutas · Jan 28, 2017 at 04:46 PM 0
Share

I would suggest reinstalling Unity. Personally, I haven't seen this problem before, and a quick google search didn't bring any insight to the problem. I think what happened is that several materials have gotten corrupted (or maybe shaders) and they're having trouble. Try reinstalling, and see if it gets better.

avatar image rohitsaini93 · Jan 29, 2017 at 01:54 AM 0
Share

hii #scoutas I reinstall unity further times but there is not any change when I select default skybx than my game view turn into pink and the game after build there is almost all pink not any object is appear

avatar image rohitsaini93 · Jan 29, 2017 at 02:01 AM 0
Share

yes #whereswaldo I tried the changes are appear but in m project that is nothing to see after build. when I changes skybox to solid color game after build appears to be blue but not any object and that particular game works properly in the another editor after build

avatar image whereswaldo · Jan 29, 2017 at 02:19 AM 1
Share

$$anonymous$$aybe try using materials without shaders

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Ali-Mamdouh · Feb 07, 2017 at 01:35 PM

hey , i hope i am not too late. this is because of your shader version. i had the same problem on my old PC when i update unity from 5.3 to 5.5 and everything became pink. and i couldn't use the wet surface in unity 5.3 too as this color appeared and the water appeared pink too, so i checked my graphic card it was using Shader 2.0 and unity 5.5 requirement Shader 3.0 so i downloaded an old version. I think you have the same problem as i can see you are using DX 9. download an old version of unity and your projects will open well. Replay please and told me if it succeeded or not. for me it succeeded.

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 rohitsaini93 · Feb 08, 2017 at 03:55 AM 0
Share

Hi , Ali $$anonymous$$amdouh you are right that is the problem with my graphic card It does'nt support shaders or standard shaders also and I degrade my version but nothing change I tried many version but there is a problem with shaders and my default skybox is always remains Pink .Now I am using 5.5.0f3 .$$anonymous$$y graphic card have a very old version "$$anonymous$$obile Intel(R) 945 Express Chipset". You have any idea it does support shaders of any kind or not ?? I wish you have a appropriate solution for this problem.

avatar image
0

Answer by JamieRFarley · Mar 20, 2017 at 05:11 PM

Hey @rohitsaini93 thank you for a super quick reply. I think it's a problem with the skybox as I found a fix for the whole background being pink when i first start unity. But it doesn't fix the terrain problem, I'm sure other shapes work such as the cube is fine.

How would I change the shader for the skybox. I went to the graphics setting but it won't add an 8th shader selection box. I am at my Witt's end as unity 4.5 was fine.

I thought i solved the problem prior to adding terrain by going to Window > lighting and then deleting the skybox then adding a new skybox material into it.

This method is not so perfect though as it means importing the skybox material and textures each time.

Thank you again for your quick reply and sorry to overload this post with writing.

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 rohitsaini93 · Mar 22, 2017 at 03:20 PM 0
Share

Hey there @ JamieRFarley sorry for late reply,

firstly by adding the shaders in 8th column doest not effect to the skybox I dont know about that It may effect or not ,but you simply add an shaders from your graphic setting in Edit ,project settings.if you want to change the setting of shaders for you skybox than you have to create your own skybox .so you manually change your settings.create a new material.select that material and go to the inspector.From the top most you will see shader bar than select it choose it and select skybox and than choose there are three I prefer cube because I used that. After that assign appropriate image to the dhader selected (cube,6 sided).select the properties what you want shaders ,light etc .than again go to the window ,lightning and choose skybox and assign the newly created skybox.

thats all what you want.

you can apply reatime lightning effect by selecting window ,lightning choose baked GI, fog and change the settings what you want.

by changing the scene lightning it will effect the skybox shaders.

Happy to help,keep creating.Good luck

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

8 People are following this question.

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

Related Questions

Shadows have weird seams and gaps 1 Answer

Shadows with Alpha, fade out shadow. 2 Answers

Shadow Maps - prevent updates 0 Answers

Shadows have a mind of their own 1 Answer

How to access shadow map depth values? 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