FishNet icon indicating copy to clipboard operation
FishNet copied to clipboard

AddConnectionToScene not making client observe initial scene

Open maxkratt opened this issue 1 year ago • 0 comments

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:

  1. Run the example as a host
  2. The ObserverIndicator Cube GameObject does not become visible
  3. 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

maxkratt avatar Mar 26 '24 10:03 maxkratt