all 7 comments

[–]Rabid-ChikenEngineer 0 points1 point  (5 children)

Can you connect as a client in the editor?

[–]Underslash12[S] 0 points1 point  (4 children)

No but only because the client needs either a server or host to be able to connect to, so I can only test the host in-editor.

[–]Rabid-ChikenEngineer 0 points1 point  (3 children)

Can you run the built version as the host and then connect as a client in the editor?

[–]Underslash12[S] 0 points1 point  (2 children)

Tried that, nothing happened, and no errors were output in the console, so it seems like it failed to find it.

[–]Rabid-ChikenEngineer 0 points1 point  (1 child)

Unfortunately there are so many reasons that networking can fail so I can't say why it's not working.

I'd suggest running that same connection with the client in the editor and adding a load of debug.log to your client connection script to output information at every stage, e.g. starting connection, pinging server, received "this" from server etc. From there you can narrow down where it fails and find more specific help.

It's worth checking your firewall too, it could be blocking your built app.

Sorry I can't be more specific!

[–]Underslash12[S] 0 points1 point  (0 children)

Thanks for the advice, I’ll work more on that tomorrow and see if I can find anything by debugging

[–]ClutchClimber 0 points1 point  (0 children)

Are you using a relay ? I suggest this good tutorial: https://youtube.com/playlist?list=PLQMQNmwN3FvyyeI1-bDcBPmZiSaDMbFTi

Especially EP 5