Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore Networking Functionality #261

Open
Cheeseness opened this issue May 7, 2015 · 2 comments
Open

Restore Networking Functionality #261

Cheeseness opened this issue May 7, 2015 · 2 comments

Comments

@Cheeseness
Copy link
Contributor

Recently, @bobsayshilol became unable to host the custom matchmaking server we were using for the game. We've merged a commit ( #260 )that switches it back to the default Unity one, but it appears that another bug has crept in which is preventing networking from working properly.

@Cheeseness
Copy link
Contributor Author

@bobsayshilol Looking at the commit again, I'm wondering if maybe there aren't more things that would be in networkManager.cs like NAT handling and player caps that would require attention?

@bobsayshilol
Copy link
Contributor

I would hazard a guess that it's this line https://github.com/Double-Fine-Game-Club/bad-golf-community-edition/blob/master/Assets/scripts/network/networkManager.cs#L165 causing the issue, and looking into it I don't think Unity provides a default Facilitator (the thing that enabled the NAT punch-through) so I guess the host would have to port forward to allow connections (port 11177).

Also if https://github.com/Double-Fine-Game-Club/bad-golf-community-edition/blob/master/Assets/scripts/network/networkManager.cs#L261 is hit it should probably stop you from hosting a server too, so that may be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants