Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
10
Question by LukeZaz · May 11, 2015 at 12:17 PM · terrainlightingsceneplay mode

Terrain is entirely black in editor

I don't know what caused it or when it started, but for some reason the terrain will turn black as if it were entirely unlit. This is the same if I enter play mode, however it does not affect builds.

It seems to occur whenever I go into Play mode and switch scenes via Application.LoadLevel from there. Doing so won't affect the scenes in Play mode, but once I exit the terrain turns black and stays that way until I go in game and load the scene up with the same method. Even once I do this, it still stays black if I go back to the editor.

A possibly related problem I have is that sometimes when I load the scene in the editor (but not in Play mode) or when I alt-tab and tab back in, the scene will appear darker for a short while. Clicking on it will cause it to lighten up after a short period of time. Until this happens, the problem will persist into play mode as well.

Problem & lighting settings

example.png (115.3 kB)
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

5 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by PixelSpartan · May 11, 2015 at 09:02 PM

I noticed this bug in Unity 5 too. I tested and i discovered whats the problem.

1.Click on Window (from file menu) and then click on Lighting.

2.Now select Ambient Source (From Lighting) to Color or Gradient BUT NOT TO SKYBOX!

3.Change Reflection Source(From Lighting too) to custom BUT NOT TO SKYBOX!

4.Do this for every scene you have.

Hope I helped : D

Comment
Add comment · Show 3 · 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 LukeZaz · May 12, 2015 at 03:56 AM 0
Share

Unfortunately didn't work. I've added a screenshot to my post that displays the problem and shows my lighting settings as well.

avatar image gemba95 · May 25, 2016 at 11:49 AM 0
Share

thank u my problem is finished :)

avatar image DrishtiS · Aug 19, 2017 at 08:39 PM 0
Share

I added a terrain and everything turned black after it. But your solution worked. Thanks.

avatar image
2

Answer by Panjo · Jan 27, 2016 at 03:18 PM

@LukeZaz Same problem - and none of these solutions worked for me. What did work for me, however, was disabling and re-enabling the terrain in the editor; after a few seconds, the lights popped back on.

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 Omelette_au_Goulage · Aug 31, 2020 at 10:02 PM 0
Share

Thank you! I had the problem where only 4 textures would work on a terrain, if I added one more texture it would paint black. This fixed it for me.

avatar image
0

Answer by zviaz · May 11, 2015 at 08:26 PM

I was having the same problem not too long ago so maybe I can help. For me it was the texture/materials default emission colour. I would start the game but when coming out of the game and back into the scene editor all of my levels objects would turn black.

Select the terrain (assuming you have a material assigned like grass or dirt) and open up the shader to look for one of the settings using the "black" colour by default. You would need to change this to match the colour of your terrain.

alt text


emission.png (12.9 kB)
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 LukeZaz · May 12, 2015 at 03:59 AM 1
Share

I don't have a material applied to my terrain as I simply add textures under the Paint Terrain options ins$$anonymous$$d. Additionally, the terrain was the only thing affected. Thanks for the suggestion, though.

avatar image
0

Answer by Captain-Awesome · Dec 01, 2015 at 08:48 PM

I just had the same problem!! I got my terrain to show up by reloading my grass texture. Like this:

  1. Find the grass in your project.

  2. Select it, then change the resolution Max Size.

  3. Click the Apply button.

After doing that my terrain showed up, but it was extremely bright from all the lights I made in the scene trying to light up my black terrain. :O

I know this isn't the best solution, but it works for me for now.

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 bhupiister · Jun 11, 2020 at 01:39 PM

I had the same problem, my entire world turned black, but the issue was relatively simple. I by mistake dropped the material on the skybox and it turned black. What you need to do it, go to Windows>Rendering>Lighting settings and now remove the material from the skybox.

But I could only reach to the solution by reading part solution of @PixelSpartan. Thanks, everyone.

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

10 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

Related Questions

Terrain Lightning Glitch when moving 0 Answers

Movement in my terrain ? 2 Answers

terrain wont come up in scene 0 Answers

Black lines between neighboring terrains. 0 Answers

Grass seems unaffected by light? In the dark its still very green 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