I want to make multiscene reference. I created script to change EditorSceneManager.preventCrossSceneReferences from MenuItem and after switch, I add references between scenes. But after I press “play”, my references was gone. How to keep that cross scene references which was created in editor?
Problem is, the unity everytime starts only one scene and after start, it’s needed to load another scene as additive. That is a reason, why is impossible to hold references from editor.
After this knowledge I created script in another scene which is holding my referencies and I call it from first scene.