- Home /
Lights in build looks different from editor
Hi, I have a problem, when I build my scene, the lights are totally different from the game view, I tried a lot of things, but I always have the same result...
Difference :
Here is my settings (Lighting / Player Settings / Quality) :
I tried deffered rendering path, disabling dx11... But nothing worked...
Thanks in advance! :)
Answer by Graphics_Dev · Apr 28, 2016 at 09:11 PM
Your problem is in quality settings. You have 'Fantastic' selected for the Editor while the (green) check mark is on 'Fastest'. Either select 'Fastest' for the Editor (by clicking on it), or click the down arrow below your platform's column and select 'Fantastic'.
Let me know if this helps =)
Thanks for your answer :)
I just tried this but it didn't worked, when I was launching the game (the built one), te quality was set to fantastic. I also tried to put the editor in fastest mode, but the result was still very different from the built game...
Answer by anubhavaj23 · May 03, 2018 at 08:03 AM
I had a similar issue recently. I don't know what might work for you but I tried changing the quality settings to 'fantastic' too, didn't work! Ultimately what worked for me was deleting all the quality profiles other than 'fantastic'. I think my build had no choice other than using the only one left. Let me know if that works for anybody else too.
Yes, that worked for me too, deleting other quality profiles other than the selected one, thanks.
one year later and your solution still helping people! Thx!
Answer by fek · Oct 09, 2016 at 05:28 PM
I recently ran into a similar issue, and while I cannot guarantee my problem is the same is yours, I figured I'd throw it out there for you and other users who are googling this issue.
I have a couple of directional lights in my game that I'm using to fake a backlighting / GI effect on a few character models. I was using layer masks to ensure that the directional lights were only lighting the desired models, and not the rest of the world.
This worked as intended in editor builds / testing, but when I published the game to a standalone EXE, the entire world was much brighter. After some playing around, I discovered that the directional lights were ignoring their layer masks and illuminating the rest of the world. I'm not sure why this was only happening in the standalone build, but I assume it's just some quirk in the compiler or something.