Hey,
I encountered an issue where the lighting is completely different in Unity’s editor and WebGL build. Windows build shows the same result as the Unity editor (so this is correct).
Unity editor and windows:
Click here to see image
WebGL build:
Click here to see image
I also noticed that right before the light bake finishes in the editor, the game screen promptly (half a second) looks like the WebGL build, but then corrects itself. This also happens when opening the .exe windows build. As long as the game window stays unfocused, the lighting looks off. Focusing the window (clicking on it) fixes the issue.
This can be seen in the following video:
Click here to see the video
Using Unity 2017.2.0f3. The same problem occurs with Enlighten and Progressive. Does not matter if lights are realtime or baked. All lights are set to Important. No light or reflection probes are used. All lights used are point lights (no directional).
Picture of light settings:
Click here to see image
EDIT 1: The bug exists when building on android as well. Will test iOS soon.
Any helps is much appreciated!
Thank you!