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 trialMark Dawe
2,087 PointsGlobal Illumination is not working.
Throughout this video my global illumination has not been working.
I can only imagine that its because I am using unity 5.4? "DynamicsGI.UpdateMaterials (rend);" did not change it. Still not working. Any ideas?
It's set to Real-time on the Lava Shader. The lava is using a standard shader.
1 Answer
Mark Dawe
2,087 PointsI am going to answer my own question. It was due to the exercise files being made for an older version on Unity. After a bit of googling I noticed people talking about the lighting window.
Its under -> Windows -> Lighting
Trying that I noticed I was getting an error "Lighting data asset was built with an incompatible Unity version. Realtime GI will not be used. Please rebuild lighting."
I needed to check the box for Precomputed Realtime GI and click build.
Once I did that GI lighting started working.
I hope that helps anyone else with a similar problem.
Jeremiah Shore
31,168 PointsJeremiah Shore
31,168 PointsI had the same issue and this helped resolve it. Thanks!
Some more details for other who had this issue...
Whenever I hit build, it wasn't actually building anything at first. The button would switch to "Cancel" briefly and then switch back to "Build", and at some point in there it would show some pending jobs in the bottom right, but that would go away too. Something eventually got it to work, but I'm not sure what. I know that when it eventually did start building it took a few minutes, almost as if something was hanging or running excessively long, but I'm not sure how long something like this normally takes.
Philip Bell
10,630 PointsPhilip Bell
10,630 PointsThank you!!! This worked for me too. for me, check the box for Precomputed Realtime GI was already clicked.
All i did was hit "build" without changing any other settings. It took about 5 minutes to finish and did not give any feedback that it was building. But within 5 minutes it worked.