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

Network Manager For Hosting Players #15

Open
adnanbashir1993 opened this issue Nov 23, 2017 · 2 comments
Open

Network Manager For Hosting Players #15

adnanbashir1993 opened this issue Nov 23, 2017 · 2 comments

Comments

@adnanbashir1993
Copy link

networkManager.matchMaker.CreateMatch(roomName , roomSize , true , "" , "" , "" , 0 , 0 , networkManager.OnMatchCreate);

In Unity 2017 , it requires 9 arguments , either i didn't know the scenario ,
please correct me as i got a null reference error.

@cesarchamorro
Copy link

Your line code it's correct, maybe you're not giving values to roomName or roomSize, and that's why you're getting the null reference error, but I can't assure it, I would need more details of youre error message, the moment you're getting it to give you an specific answer, but you can try checking the values of you're variables as I said before.

Let me know if this helped you to solve you're issue.

@ZahiriNatZuke
Copy link

thanks for solution
https://github.com/adnanbashir1993

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