Can't call BoltNetwork.SetHostInfo when not in lobby

Getting an error when loading scene from lobby scene:
Can't call BoltNetwork.SetHostInfo when not in lobby
UnityEngine.Debug:LogError(Object)
udpkit.platform.photon.d__44:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
It's seems to of started when my scene grew larger. I basically have all the code from the tutorials (which worked great) just add static environment objects including a 2048 sq terrain. At first it was only occasionally happening, now it happens every start/connect. Any advice would be much appreciated. Thanks

Comments

  • Also, scene loads fine even with this exception in the DeBug log.
  • OK, this gets stranger. This error DOES NOT happen if I run the game in the editor with the game window set to "Maximize On Play."
Sign In or Register to comment.