I am making a game using the new UNet system. I have a button that runs this line:
`NetworkManager.singleton.onlineScene = TargetScene;`
When the button is pressed, nothing appears to happen, but the inspector variable does change. I assume the problem is the server is switching scenes, but the clients are not following it. Therefore, I added the following to my players:`void Update() { if(ClientScene.ready == false) { if(isLocalPlayer) { ClientScene.Ready(ClientScene.readyConnection); Debug.Log("Set as ready."); } } }`
The Debug.Log never runs. What am I doing wrong?