Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity 5 - Scene darkens when switching scenes

Tags:

unity3d

scene

Ok, here is a new issue.

I will attach 2 photos. (Note: this is a demo level)

The lighter image is the way the scene is supposed to look when it is loaded. And in fact, it will load that way when I go to the scene and run it in the editor.

But if I load the level using Application.LoadLevel, it loads as the darkened image. Even if I increase the intensity of the light, the level looks completely wrong.

This is happening for all my scenes, please help!

The way the scene is supposed to be...

Darkened scene on Application.LoadLevel...

like image 446
DrRocker Avatar asked Mar 09 '15 20:03

DrRocker


People also ask

Why is my lighting so dark in Unity?

Go to Window-Rendering-Lighting. You should automatically land on the scene tab. Scroll down and look at the bottom right and check if auto check is checked off, make sure it is. Then hit Generate lighting.

How do I switch between scenes in Unity?

Loading a new game scene is an easy way to change between levels or other in game menus. To get started, simply go to the file tab and select new scene. Be sure to save the current game scene if prompted. Right-click in the hierarchy and add a new UI Image game object.

What is global illumination in Unity?

Global Illumination (GI) is a system that models how light is bounced off of surfaces onto other surfaces (indirect light) rather than being limited to just the light that hits a surface directly from a light source (direct light).


1 Answers

Go to Window -> Lighting. Click on Scene tab. At the bottom uncheck 'Continuous Baking' and press Build.

This solved the problem for me when using Application.LoadLevel();

like image 51
fuz Avatar answered Oct 24 '22 05:10

fuz