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

NetUtility.GetMyAddress(out mask) isn't woring #68

Open
NarsuAltan opened this issue Mar 7, 2016 · 2 comments
Open

NetUtility.GetMyAddress(out mask) isn't woring #68

NarsuAltan opened this issue Mar 7, 2016 · 2 comments

Comments

@NarsuAltan
Copy link

I've followed your instrucions and done a test on unity5.3.3f1.
But the method NetUtility.GetMyAddress(out mask) returned null.

@AgentFire
Copy link
Contributor

Sometimes that happens if you don't have any network card and using WiFi only. Although that must be taken care of anyway.

@fversnel
Copy link
Contributor

fversnel commented Mar 7, 2016

I've experienced this as well. Ended up using this instead:

UnityEngine.Network.player.ipAddress

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

No branches or pull requests

3 participants