#Issues with running things via a persistent scene

1 messages · Page 1 of 1 (latest)

nocturne dune
#

Hello everyone, I'm new to Unity and trying to implement a persistent scene that adds/removes scenes additively. My first issue is I'm not clear how to handle this scene not having a camera since it gives an error. Can I ignore that and just use the ones that are in my scenes that I load? Or is more common to have them all placed in the initial scene and toggle them/on or off?

The second thing I'm struggling with is I want to have a progress bar load between scenes. My first attempt at this was to have a "Loading" scene which I bring in. However I then found out that my SceneManager script can't have references from another scene. So, I'm not exactly sure how to control the loading bar progress (for example).

I've watched literally dozens of videos/tutorials on loading bars and scene managers and I'm having a lot of trouble because a lot of the approaches are more complicated than I need and everyone is doing it different. I would appreciate any thoughts/comments/help.

dusk warren
#

they way i have it set up is that the camera is in the persistent scene (though idk if that's a common practice)

#

you could have the loading be on the persistent scene as well tbh - so you don't have to load it a ton of times, just once and then enable/disable

nocturne dune
#

Nothing is really built yet

#

I had a beginning of a game and I tore it all apart

dusk warren
#

you asked about issues you encountered.. how are we supposed to answer questions about a situation that doesn't exist anymore lol

nocturne dune
#

because I wanted to switch to a persistant scene that loaded in scenes additively

#

I'm trying to build it right now. They are issues that I am running into right now.

#

Ok, I will switch to having my cameras in the persistent scene and enable/disable them in the scene manager.

#

In regards to the loading scene, is there no way avoid having it be part of my persistant scene?

dusk warren
#

you could have it as a separate scene, sure, but i don't really see a reason to tbh