#Empty GhostCollection and closed Subscene

1 messages · Page 1 of 1 (latest)

fervent sorrel
#

Hello! I'm using ecs and for my game. I have a Main scene for main menu and Game scene for the actual game.

Game scene has a subscene named Subscene with a Prefab that contains GhostAuthoringComponent. I initially have Game scene unloaded and Main scene loads this scene. When Game scene loads, the Subscene is marked as closed and NumLoadedPrefabs is 0 even though the Prefab looks to be baked.

Does anyone know if the subscene being closed is the problem?

rapid panther
#

How do you check this NumLoadedPrefabs number?

fervent sorrel
#

In the entities hierarchy, I just searched for Ghost Collection and in there, the NumLoadedPrefabs is 0

#

The main issue I'm having is that when I use the Ghost Prefab to Instantiate a new entity in a ServerSimulation, the client world doesn't get this newly created Entity

#

And I'm suspecting the empty GhostCollection to be the cause