Hi, I’m trying to learn unity rpc calls to a simple multiplay game.
[Detailed]:
I made a second scene(level);
The server changed the scene before client connect;When client join the server he connect in first scene because he don’t got the change scene call.
Made a LOBBY Layer before the “Real Game”;
Wait people connect to server;
Did a change level via RPC call;
Its ok, it change the level to everyone, BUT?
…
If someone join the lobby after the “change the stage rpc call”, he still don’t got the level;
What Should I Do?
-How I pass the level to client when he joins my server?
-When I say him and find a solution to the client change the scene when he joins the server, his “scene2” will be our same “scene 2”?
I mean, a “spawn object call” will create this object in the same view?
[tldr]:
I would like to know the correct way to change level over network so people who joins my server after a change level, change to the correct scene and interact with its objects.