I would like to achieve something analogous to the sample scene 7_PlayerSpawner’s SpawnManager.cs (version 1.8). However, the SpawnManager listens to onLiveQuerySynced which only seems to work when the clients are connecting. In my case, the clients have been connected already and are loading into the gameplay scene.
I’ve been struggling to find something I can “hook on” to make sure I only run its logic in one of the clients.
I have a follow up question on this: How to handle the case of only existing one player in the session? OnUniquenessResolved would never be solved.
I tried to use ConnectedClients, but I observed that this information is lost on scene transition. Clients are still connected and all entities are obserbed by all clients as expected, but the bridge only displays one ConnectedClient (the local client one). Is this expected? Maybe I messed up something in my scene transition flow.