- Home /
Everything is green. Corrupted project?
Hi. During building an exe the Unity completely froze my PC so I had to do a forced restart. Now when I open my project, everything is green in all scenes of the project. Other projects are fine, just this one appears to be somehow corrupted because of the reset. It also gives me some errors that seem to be connected with it. I'm attaching a screenshot so you can see what I'm talking about. Can someone help me please? This is really important to me :( Thanks!
[1]: /storage/temp/21845-corrupted.jpg
Click the cube in the scene, look at Inspector / $$anonymous$$aterial & Shader in use - - if the answer is not obvious from that, post screenshot of properties.
Thanks for responding. It doesn't matter which material I use, it's always green. Both with the default material and with custom ones.
Screenshot of props would help/verify; also check $$anonymous$$ainCamera / Culling$$anonymous$$ask
That's not the case. It doesn't have to do with the main camera, it's the same in scene view. By the way, the problem is only when using deffered rendering, when I switch to forward rendering is disappears. I don't want to use forward rendering though.
I also found out that the problem disappears when I turn on "Use Direct3D 11". Don't want to use that either though.
Answer by Kiwi2703 · Feb 08, 2014 at 02:14 PM
So I didn't find a way to fix the problem (I assume it's something corrupted in the " uneditable core files" of the project), but I managed to save my project. I created a new one and copied all the assets from the old one into it, including scenes. Then I manually set all the project settings to match the ones of my old project. This helped, so I wanted to share it so maybe it can help someone in the future. Thanks for all your responds though :)
Answer by geroppo · Feb 07, 2014 at 09:30 PM
well... first you should update that service pack that unity recomends, and second, it seems that your object's material got somewhat messed up, try to assign them a new one
Thank you for responding, geroppo. Don't $$anonymous$$d the service pack warning please, that's been there all the time and it's not connected to this problem. Also, assigning new materials doesn't help. Everything is just green. It seems like some default project shaders or some default scripts that generate the whole lightning, shadows and textures got messed up. Also it's not in the Unity itself, because even reinstall didn't help and it's only happening in this one project.
would you $$anonymous$$d adding a screenshot of one of those green object's inspector ? it would help alot
Ah, just saw the screen shot... not a light problem obviously. Looks like materials are corrupted or something. Have you tried reimporting assets?
Answer by NOTT · May 31, 2018 at 10:55 AM
Windows-lighting-setting Environment Recflections Compression is Atuo will be bugged
Answer by oluwaseyeayinla · Sep 23, 2021 at 06:42 PM
Same thing happened to me. Funny thing is if you find the material and reset (right click for context menu options) it then the issue goes away. However, pressing play does not fix the issue. It somehow changes the value of the color property from the default white to a green tint.
Anyways since the issue was with the default material, all I did was to recreate a new material with the default settings (my issue was with the default sprite material) and attach that to all the affected game objects.
I found that easier than creating a new project and copying all the assets, tags, layers etc. Hint: you can find all the gameObjects with the component which has the issue in the hierarchy search bar by typing t:{type of component}
When I added the Material to the Text component. It overrode the color and changed it to tint. Frankly I don't get what issue the default Text component has with the default UI shader/material.
But a quick shader fix in the update should resolve it (not optimal). https://docs.unity3d.com/ScriptReference/Material.SetColor.html
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Autodesk 123D Design To Unity 2 Answers
Best way to load data from file 0 Answers
MonoDevelop freezes as soon i start typing in class file 3 Answers