Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Score, Enemies, and Game State Add a Start and End

Jefferson Lessa
Jefferson Lessa
5,684 Points

The Lightning changes when the scene reloads

I just finished the code in this lesson, and everything went up alright.

But when the scene reloads, after the timer finishes, the scene is sightly more lit then before, or the assets get more reflective.

I double checked the setup video, and mine seems to be ok. Is there some configuration that could have something to do with that?

It happens the same to me!

Michael Lichter
Michael Lichter
1,348 Points

I actually get the opposite effect when the game ends, I lose brightness and my scene gets darker. I seem to be loosing the color correction lookup (LUT).

1 Answer

OK, I managed to fix it. Go window->lighting->lightmaps->untick the auto cell->hit build

Jefferson Lessa
Jefferson Lessa
5,684 Points

Thank you! I think unity was rebuilding the lightmap on top of the already built one, with the "auto" option checked.