"Takes `2' arguments"

What does this mean, I have this error right now on multiple things and was wondering how to fix it. Here’s one for example.

/multiplayerManager.cs(33,17): error CS1501: No overload for method Server_PlayerJoinRequest' Takes 2’ arguments

I understand where the error is located I just don’t understand what the error is.

What does the method Server_PlayerJoinRequest look like? The error is stating that you’re passing in 2 parameters (arguments) to that method, but the method is defined to take fewer or more than 2. The compiler can’t find one that is defined to take exactly 2.

So you’re calling the method incorrectly.

I fixed it myself, it had to do with the code giving Server_PlayJoinRequest context.