Answer the question
In order to leave comments, you need to log in
Darkness on scene when loading with SceneManager.LoadScene() Unity?
The problem is loading the scene - the loaded scene turns out to be dark:
Although it is intended to be like this (launched immediately from this scene, and not through the initial one):
Loaded normally, with the help of:
What is the reason for this and how can I fix it?
SceneManager.LoadScene("Main");
Answer the question
In order to leave comments, you need to log in
This is only in the editor, if you compile the project, then everything will be fine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question