FishNet
FishNet copied to clipboard
AddConnectionToScene not making client observe initial scene
General Unity version: 2022.3.16f1 Fish-Networking version: 4.1.4R Pro and 3.11.18R Pro
Description
When using the AddConnectionToScene method in SceneManager.OnClientLoadedStartScenes to add the new client as an observer of the starting scene, it does not start observing objects in the scene.
Replication Steps to reproduce the behavior:
- Run the example as a host
- The ObserverIndicator Cube GameObject does not become visible
- The RPCTester does not run OnStartClient
Expected behavior I would expect any clients to observe the scene correctly as this is similar to using the PlayerSpawner's "Add To Default Scene" option as far as I am aware.
Example File AddConnectionsTest.zip