How to sync an object with the current scene

Hello!

We are trying to sync objects in the current scene with the session we are login in.

To be as precise as possible, we are doing:

  • Loading a default scene
  • Joining the Lobby and looking for a room to join
  • Joining the room

All Network Objects are invalid and do not sync through the network.

Before what we had is that instead of going through a Lobby it would join a hardcoded room and in that scenario, it worked perfectly.

Is there a way to sync objects with the room session with our current flow? Should we do it very differently than what we are doing it?

Thank you in advance!

Answers

  • nvm!

    Apparently the issue was from other commit and it was that we were missing the scene parameter in the StartGame method 😅