Quantcast
Channel: Questions in topic: "loadlevelasync"
Viewing all articles
Browse latest Browse all 194

Scene lighting not being loaded when coming from another scene

$
0
0
Hi everyone, I'm working on a game which has a scene with a terrain, a directional light, and some other objects. When I start the game from this scene, everything is fine. However, the player can die, which takes him/her to a "lose" screen and a LoadLevelAsync function begins to be ran. When complete, the player is taken back to the game scene. The problem is that when the player is taken back to the game scene, the lighting doesn't seem to have loaded properly. I'm attaching pictures of when the game is loaded from the game scene vs when its loaded from the lose scene. I'm using Unity 5.4 free P.S. I only see this behavior in the editor, when I run a build it seems to we working fine. Thanks!

Viewing all articles
Browse latest Browse all 194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>