- Home /
Models get much darker when switching levels, but are fine when playing the scene normally?
Hello all!
I've been working on a personal project for the past couple of weeks, which so far has come along nicely except for this bug. I made some pretty big models in blender earlier today and decided to put them in a test scene to see if they worked well in proportion to all the other models. Fortunately, they turned out okay! So I started adding textures and materials to the models and set up a script to load the current level after the player is finished with the previous one. When I loaded everything up and got to the second level, everything was EXTREMELY darker than before. If I loaded up the scene and played it there, everything was fine, but if I loaded the first level and made my way to the ending and got to the second level that way, everything goes wrong. I also just switched my project over to Unity 5 by the way, never had a problem like this before.
Any suggestions?
Just made a quick dev build for my Linux test machine. Terrain would not render (collider was still there) but the shadow problem didn't occur. (The scenerio above happened on a $$anonymous$$ac, but didnt have any terrain issues like the Linux build. Hopefully tomorrow I can test it on my Windows machine to see if anything like this happens)
Hi. I have the same problem, but when I restart the same level. So, when I test the level everything is fine but when I press the restart button (Application.LoadLevel) to reload the scene everything turn dark. If anyone knows about this please help. Thanks.
I believe this is now a known issue.
Having issues with Unity 5? We recently launched Unity 5 and you may be experiencing issues with this first release. We are working very hard to fix bugs for upco$$anonymous$$g releases, and any known issues, changes and fixes are being documented here so please have a look. Unity Answers is not a bug database, so make sure you are reporting any bugs you encounter, and follow the status of the bug reports in our issue tracker.
Yeah, I couldn't find "Continuous Baking" in Unity 5.6 :(
As Wizbit said, in unity 5.6 you have to go to windows--->lighting----->settings at the very bottom it says auto generate. 1. Uncheck auto generate 2. Press the Generate Lighting button 3. I am unsure but if you still have the error then repeat this setting on every scene
Thanks a ton to you and to Wizbit. most of the solutions I had found weren't usable in 5.6, this fixed the problem that I was having.
Answer by Wolfdog · Apr 19, 2015 at 10:19 AM
This is because you're continuously baking the lighting. Don't worry, as this will be changed automatically once you build the final game.
To fix it in the Editor, go to Window -> Lighting -> Lightmap Tab -> Disable Continuous Baking -> Press Build to bake the lighting.
Note that if you add more lights or make some changes, you have to bake the lightmap again.
pro answer. not only explained how to fix it, but why it worked on .apk <3
I had a similar problem with a transparent material that would become black when I reloaded the scene, but this completely fixed the problem thanks!
Thank you very much! You really save my neck this time. I will send my work to customer tomorrow. And face the same problem! OH! i love you wolfdog!
I had the exact opposite problem. I had to turn ON baked lighting to get the issue to go away in 2020.3.11f1. -- Just wow.
Answer by marius_87 · Mar 11, 2015 at 01:03 PM
I found that by disabling "Continuous Baking" in Lighting > Scene > Other Settings and bake manually everything is working fine.
Answer by wizbit · Jun 01, 2017 at 07:47 AM
Yup, on 5.6.1f1
you will need to make the following change on each scene
Lighting --> Scene (Tab) --> Lightmapping Settings (Section) --> uncheck "Auto Generate" then click on the "Generate Lighting" button.
seemed to do the trick for me.
For Unity 2017.2.0f3 Is Work for me Thanks
Tutorial on youtube : https://www.youtube.com/watch?v=F-aU$$anonymous$$LdIxRY
thanks for sharing youtube link, it's more clear :)
Answer by myworkema · Dec 31, 2017 at 12:02 AM
For Unity 2017.2.0f3 Is Work for me
Tutorial on youtube : https://www.youtube.com/watch?v=F-aUMLdIxRY
Answer by fwalkerCirca · Aug 10, 2017 at 07:15 PM
Building the final game does not seem to change this. Am I missing something? It's the same problem, if I bake by hand things work correctly on the editor. But after building both the stand alone version and a WebGL version the problem is there! So frustrating.
Your answer
Follow this Question
Related Questions
no lit darkness 1 Answer
Did i miss something about lighting ? It's not looking like the real survival shooter game 0 Answers
Make a 2d scene pitch black? 2 Answers
Darkness in the certain parts of the scene 0 Answers
How do I make "Bootcamp" dark? 1 Answer