Views: 146474
Like: 4150
This is the first tutorial of my free beginner series on how to make an online multiplayer game. In this episode we will look at setting up the networking engine Photon in Unity, and creating a username and server/main menu screen.

Photon engine –

Play my games!


If you have any problems, let me know in the comments 🙂


  1. How can i make when internet turn off open ui and goes return to lobby.

  2. photon is for scuffed games duck the photon

  3. This is my first time seeing your channel and im just, like wow. Your style of telling is like.. a teacher, better than a teacher. I loved the video so much and you can be sure that everyone doing this stuff will find your channel and you will grow with being an enormous channel. Sorry if my bad English disturbed you a little bit but i have to say that you are awesome.

  4. Menu Controller does not work as of new updates.

  5. can i play 2 game instance in 2 PC ? or over internet ? how about IOS (or Andorid) game build ?

  6. For anyone having issues with the OnConnectedToMaster method, I solved it by changing "MonoBehaviour" to "Photon.PunBehaviour". You also have to change the method to "public override void OnConnectedToMaster()" Then the "connected" message appears when running the app

  7. Is the complete game ready?? I want to see that

  8. Omg thx! This really helps out for starter people like me and for my friends! I will add some credit for you for the tutorial!!! Keep the videos up pls!!!

  9. Dang it why on hell i was creating a linus server i forgot photon hell outta ma brainnnnn 2 cells tbh

  10. I keep on getting errors for the private void Awake() { PhotonNetwork.ConnectUsingSettings; }

  11. This is the best multiplayer tutorial i have ever seen!

  12. why void OnConnectedToServer(){}doesn't match isn't in white

  13. awsome video!
    now i can make my in progress game a multiplayer

  14. Can you help? I need to make my game check available updates and make it mandatory to download and install the update not letting the player enter the server without first updating. Is .json file related to this? If so, how to create this feature I want to?

  15. goooooood tot multiplayer is a hard thing for me but thins makes it sooooooooooooooo easy! thx you so much!

  16. How not to ..these games hackers or douchbag Cheaters always ruin multiplayer games .

  17. idk what happening but it is not working for me..

  18. AssetsPhoton Unity NetworkingEditorPhotonNetworkPhotonEditorUtils.cs(167,21): warning CS0618: 'UnityWebRequest.isNetworkError' is obsolete: 'UnityWebRequest.isNetworkError is deprecated. Use (UnityWebRequest.result == UnityWebRequest.Result.ConnectionError) instead.'

  19. Hello miss
    Can you create a game
    I will tell you ☹☹☹

  20. I like your effort, work and accent! Also that's really British of you 🙂

  21. hey i am having some trouble can we discord call and i will share screen my code, thx

  22. I know this is kind of an old Tutorial but when I do the SerializeField it doesn’t turn Blue, is that going to mess with the script at all? As well as PhotonNetwork and some other stuff. Am I missing something?

  23. how can I use photon with the new Input systems?

    This is my movement with the new input system and it didn't work with "photonView.isMine".

    public void Move(InputAction.CallbackContext context)


    if (photonView.isMine)


    horizontal = context.ReadValue<Vector2>().x;

    animator.SetFloat("Speed", Mathf.Abs(horizontal));



    Please, Someone can help me to adapt my code to photon?

  24. error cs0103: The name 'UsernameMenu' does not exist in the current context

  25. I'm sorry for being stupid, but can anybody tell me what she's using to close the SerializeField? I don't know if it's brackets or parentheses. 4:37

Leave a Reply

Your email address will not be published. Required fields are marked *