Hello,
I have created a spawn script for object whenever player spawn. This script works fine for player who are already in the scene. The problem happens when new player join mid session. This new player can’t see whatever object that are instantiated by players who are already in the scene.
I follow the code that was given in the documentation.
GameObject go = Instantiate(NetworkController.Instance.hostUI, NetworkController.Instance.canvasParent);
go.GetComponent<NetworkObject>().Spawn();
from my understanding, code from line 2 is enough for new player joining mid session to see whatever was instantiated in network.
Any help is greatly appreciated.
Thanks