Open phr00t opened 1 year ago
This was an attempt to fix it: https://github.com/phr00t/FocusEngine/commit/f8393186990b55d30e69c4265d4a60077d5f943c
I recently noticed that bringing up Asset Previews also break lights in the editor, which is more annoying. A new GraphicsCompositor is created, with new lighting objects... this is where some lights unexpectedly stop shining in the editor. It looks like the lights are still being processed, just not drawn.
Making a "lean" GraphicsCompositor for asset previewing (without spotlight or pointlight renderers added to it) doesn't help.
If you are viewing a scene in the editor with lights and open another tab with lights, lights seem to visibly break. Probably some issue with multiple scenes of light.
Fortunately this is pretty easy to resolve -- just close out of the scenes and reopen the scene you want to see lights in. They become visible again.