MMO Development From

Hello im following the tutorial

And im getting some error from part

i have continue to part :

and im still getting same errors , let me link them :
Assets/NetWorkScripts/Game.cs(52,55): error CS0103: The name `returnCode' does not exist in the current context

Assets/NetWorkScripts/Game.cs(52,28): error CS1502: The best overloaded method match for `IGameState.OnPeerStatusCallback(Game, ExitGames.Client.Photon.StatusCode)' has some invalid arguments

Assets/NetWorkScripts/Game.cs(52,28): error CS1503: Argument `#2' cannot convert `object' expression to type `ExitGames.Client.Photon.StatusCode'

Assets/NetWorkScripts/Game.cs(6,14): error CS0738: `Game' does not implement interface member `ExitGames.Client.Photon.IPhotonPeerListener.PeerStatusCallback(ExitGames.Client.Photon.StatusCode)' and the best implementing candidate `Game.DebugReturn(ExitGames.Client.Photon.DebugLevel, string)' return type `void' does not match interface member return type `void'

if you need to see my script tell me and im gonna link it .

Thanks for taking the time to help me :D


  • ok well u dont need to help me with that because i have continue the tutorial and in the next step they remake this part with a new script nad the new script give me no error
  • Tobias
    Hehe. Maybe you give cjrgaming some feedback what's going wrong.
    Glad you could solve it.