Thank you for the detailed information.
I followed your instructions and tried testing with no room selection functionality in the Main Menu, just including the default game objects mentioned in my previous message and adding debug UI information in Main Scene to better understand the issue. The following screenshot of the Main Scene is taken on my Windows computer running Unity with Chrome browser:
Please note that no “Room” parameter is included in the URL and that Editor Sync is installed. After removing that, the “editorid” parameter in the URL was absent, but still the issue persists.
Scanning the QR code on my mobile, I connected normally and chose the “Next” scene from the Needle bar below. The debug information show the same information as above but with a different ID!
So there are 2 issues, the room parameter is not included in the URL and the room ID is different.
Also it is important to mention that the user camera object is properly synced, I see the other user in the scene, but the game objects do not sync.
Some more notes…
I run the project locally and with the default single sandbox scene there is no sync issue.
In Main Scene in addition to the content, I have a game object with Scene Loading Events component and its “Opened” and “Closing” settings are empty.
I read the thread Unity: Multiplayer Duplicated Local Player On Spawn - #7 by Marcel_Wiessler1 and it states the following:
“
-
Init scene that has SceneSwitcher and Networking component for localhost
-
MainMenu scene that has GUI with a button that calls goToScene to Multiplayer scene
-
Multiplayer scene that has Synced Room, Player Sync, Spawn Spot Handler similar to Multipalyer Player Sample and a GUI with a button that calls goToScene to MainMenuScene. The network player prefab is based on the Multiplayer Player Sample player prefab with a PlayerMovement, PlayerState, Synced Transform
My test url has a parameter room=needle258.
”
My Main Scene’s objects are only content and the component mentioned earlier.
Thank you for your time.
