Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

NetworkLobbyManager - GamePlayerPrefab only spawned for host

$
0
0
As the title says, when I transition from the lobby scene into the game scene, a game player is only created for the host. This game player exists on the host and all clients, but it is the only one.

Both the lobby player and game player have a network identity with local player authority checked. Here is some relevant networking code for up to the transition:

CustomLobbyManager.cs
Code (CSharp):
  1. public override bool OnLobbyServerSceneLoadedForPlayer(GameObject lobbyPlayer, GameObject...
NetworkLobbyManager - GamePlayerPrefab only spawned for host

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>