Can't connect to my Server

Options
Hello :D I cant connect to my server hosted in my own PC. I build my game, host a server on it and when I try to connect through Unity, I get this errors: https://gyazo.com/67d97649cc07d07af8dfdca54bebe54e. This is my connect/strart script: https://gyazo.com/0791a2bfb32a6591f996dd1e17be3bd9. Thanks :3

Answers

  • Jon Bonne
    Options
    It may be trying to connect every Update, I'm not sure. Try only connecting once. I would override BoltStartDone and move everything you have in Update to there.
  • Same
    Jon Bonne said:

    It may be trying to connect every Update, I'm not sure. Try only connecting once. I would override BoltStartDone and move everything you have in Update to there.

    Same :/. Scene doesnt load, and I have to wait for many seconds to get some notifications. This is my console: https://gyazo.com/b1ad1028abce4499207ed2fe9288bb71
    This is my script in this moment: https://gyazo.com/ea2311be18ee2dd42dabafc1b7b797e9
  • Jon Bonne
    Options
    You shouldn't have to call loadscene on the client. Besides that I don't know what the problem would be. It looks like you aren't getting all the debug info though, do you have all the logging turned on in the Bolt Settings window?
  • Jon Bonne said:

    You shouldn't have to call loadscene on the client. Besides that I don't know what the problem would be. It looks like you aren't getting all the debug info though, do you have all the logging turned on in the Bolt Settings window?

    Same by removing loadscene and having all the logging turned on
  • Orieorexu2
    Options
    Usually 5055 is the default port not 27000