No overload for method 'JoinRandomRoom' takes 0 arguments
Options
There are 3 errors in unity and they don't disappear no matter what I do.
PhotonNetwork.JoinRandomRoom (); is called everywhere the error indicates.
Errors occurred after I wrote the following code in my script file.
Even if I comment out this code after an error, the error will not disappear.
How can I make the error go away?
I have made no changes to the ConnectAndJoinRandom.cs and StatesGui.cs files.
Assets/Photon/PhotonUnityNetworking/UtilityScripts/Prototyping/ConnectAndJoinRandom.cs(59,27): error CS1501: No overload for method 'JoinRandomRoom' takes 0 arguments
Assets/Photon/PhotonUnityNetworking/UtilityScripts/Debugging/StatesGui.cs(164,35): error CS1501: No overload for method 'JoinRandomRoom' takes 0 arguments
Assets/Photon/PhotonUnityNetworking/UtilityScripts/Prototyping/ConnectAndJoinRandom.cs(65,27): error CS1501: No overload for method 'JoinRandomRoom' takes 0 arguments
PhotonNetwork.JoinRandomRoom (); is called everywhere the error indicates.
Errors occurred after I wrote the following code in my script file.
Before writing this code, the project was executable without error.
PhotonNetwork.JoinRandomRoom (new ExitGames.Client.Photon.Hashtable () {{"DifficultyLevel", 1}}, 0);
Even if I comment out this code after an error, the error will not disappear.
How can I make the error go away?
0