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

Mike Atkinson
Mike Atkinson
6,882 Points

Scene Reset and Reflection Probes (Visual Artefacts)

Using Unity Version 5.4

So I used the code SceneManager.LoadScene ("MainScene"); to reset my scene. (You need to put whatever your scene name is in the quotes )

My Scene resets fine, but I noticed it there was some weird color change. Messing around with the inspector, I found it was related to the "Reflection Probe" Object under "Enviroment" in the hierarchy window.

As per this forum (click here): If you set the Reflection probe "Type" to "Realtime", it somewhat fixes the issue, but it does slightly change the look of the colors.

Perhaps this is a problem only in the editor player (perhaps would not be a problem in the final build of your game), but I have not tested personally yet.