- Home /
Method Not Found: 'Network.InitalizeServer'
Can anyone see what's wrong with it, It comes up with "Method Not Found: 'Network.InitalizeServer'."
var ServerIP : String="127.0.0.1";
var ServerPort : int=30000;
function OnGUI (){
if(GUILayout.Button("Connect")){
Network.Connect(ServerIP, ServerPort);
}
if(GUILayout.Button("NewServer")){
Network.InitializeServer(32,ServerPort,false);
}
if(GUILayout.Button("Disconnect")){
Network.Disconnect();
}
}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613082334im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Server & client on same wifi, error 1 Answer
Network.Connect failed. 1 Answer
Unity master server down? 0 Answers
Port not opening? 3 Answers
Server and Network no communication 1 Answer