#NetCode subscene doesn't auto load

1 messages · Page 1 of 1 (latest)

tardy crown
#

I have a main scene open that has a subscene with authored entities inside of it. I am delaying the creation of the server / client worlds, and instead having a local world exist beforehand. The subscene has auto-load enabled. When I press play, the subscene properly loads into the local world. After a condition is met, I set the auto connect port and create the server / client worlds to start hosting. When I do this, however, the subscene is not automatically loaded into the client and server worlds. Do I have to manually load it somehow? I want it to be loaded into all worlds.

paper hemlock
#

Subscenes only auto load in onenable so it makes it pretty useless on actual projects outside of prototyping

#

You'll need to manage when you want to open subscenes on client and server

#

SceneSystem.LoadSceneAsync

#

my implementation is here if you need some inspiration / example