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 trialGrant Boddie
1,043 PointsBrightness decreases when game restarts
When the game starts, the graphics look perfectly fine, but when the frog gets eaten by the bird and the game restarts, the whole game looks like a shadow. I know it's not my display that's the issue because only the scene window goes dark. This doesn't affect the gameplay, but it is very annoying. Please help!
1 Answer
Tiger Wang
26,548 PointsHey Grant: I encounter the same problem, I solved it by doing following steps
In Unity Click Menu:
- Window -> Lighting -> Lighting maps Tab
- Uncheck the Auto checkbox, then build it once manually.
It works for me, and I think the reason is, we apply some effect about the light on the camera, it will build and implement when the game starts running by default. So when you reload the scene the light effect doesn't rebuild dynamically.
If you add some more change to the light, remember to bake the light data again.
I found the answer through this link, Hope this can help.
Grant Boddie
1,043 PointsGrant Boddie
1,043 PointsThanks so much!