#Global Light 2D appears to be gone when built

1 messages · Page 1 of 1 (latest)

tight sequoia
#

having an issue with no global 2d lights showing up in my build: i have a main menu level select scene and levels, and scene transitions are done with SceneManagement.LoadScene(). When i dragged all my levels into the hierarchy to test the level transitions in the editor, i initially got a “more than one global light on layer…” error that went away after unloading the level scenes and leaving only the main menu. after building, it appears as if all of the lights are gone, the scenes all look super dark, except for the canvas UI. i had one global light 2d in each scene, set to light “everything” in the layer select

near sparrow
#

If there still are differences between the build and editor, another thing to check is that the build and editor are not using different quality levels

tight sequoia
tight sequoia
#

or where should i look rather

near sparrow
near sparrow
#

The quality level you click on to select is the one the editor uses
The one with a green checkbox is the one the particular build target uses by default

tight sequoia
near sparrow
# tight sequoia

Your editor is using Very Low, while PC build target is using Ultra
Guessing that's what you made the test build for
What really matters is if they use different Render Pipeline Assets because that's the one that determines 2D lighting

#

Compare if they have different URP assets
Clickin on the assigned URP asset will take you to it in Project

tight sequoia
#

will get back to this in ~15

#

thanks though

tight sequoia
#

i only see one URP asset in the project pane

#

also not sure how to set editor quality?

#

changing "Very Low" just changes the name of the quality level in the top selection area

#

oh you just click on it in the selection area

#

tried deleting all quality settings except one, the editor game view and build still differ

near sparrow
tight sequoia
#

windows

#

beginning to think it's not a global light issue at all and a camera issue maybe?

#

the background color is becoming black