No overload for method `CreateRoom' takes `6' arguments

Options
Sorry for my bad inglish
Hi im new in unity and photon and i have a error whit this code.

No overload for method `CreateRoom' takes `6' arguments.

And this is the line of the error: PhotonNetwork.CreateRoom(newRoomName, true, true, maxPlayers, setMapName, exposedProps);

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @danielmeza,

    Thank you for choosing Photon!

    Where did you get this error?
    You are probably updating PUN in an old project as that's an old/deprecated method signature.