I remember finding out about photon pun, and loved how there where so many tutorials on how to use it, but since moving to fusion, there aren’t many good ones, but this one is definitely a good one!
I've tried Photon Pun 2 and followed everything in the video guides, but I get errors when joining with a second Unity window. The first window works fine and can see the other player, but the second window throws errors like 'Failed to find a PhotonView with ID=1 for incoming OwnershipUpdate event,' and it can't even see the first player. It's been two days, and I haven't been able to fix it. I'm very tired and a bit frustrated. It's midnight, and I'm considering trying Photon Fusion by watching your video. Is Fusion better, by the way?
@@jollyname I know. I mean I've tried Pun first as they were showing in the video and it gave me errors; didn't work for me for some reason. Now I wanna try Fusion, using your video guide
@@nikson12gg Sorry for late response, but yes for now I recommend you to use Photon Fusion 2 and there is an also very good documentation you can follow to make your multiplayer game with Fusion 2. Link: doc.photonengine.com/fusion/current/fusion-intro#
how do i make the other player who joined to spawn in one position but i should spawn on the opposite side vice versa but both of us should see themself in left side and the enemy in right side
I'm not sure If I understood your question correctly but to spawn players to left side, and enemies on the right side of game, you can get positions of the left & right side by Debug.log() and paste that Vector3 in PlayerSpawner. For enemy you can create another script which you are going to use Instantiate() for that, and paste the right side position there.
You can follow 11:33 closely again to do the work. However, if you are still struggling then you can contact with me by email (satakisiyev8@gmail.com).
@@JacobAlkhal well, if it is the question, you don't need to do anything additional. After you build this game you can share .exe with your other computer. When you open the game in another computer there won't be any problem.
NullReferenceException: Object reference not set to an instance of an object PlayerMovement.FixedUpdateNetwork () (at Assets/PlayerMovement.cs:31) Fusion.SimulationBehaviourUpdater.InvokeFixedUpdateNetwork (Fusion.SimulationStages stage, Fusion.SimulationModes mode, Fusion.Topologies topology) (at Fusion/Fusion.Runtime/Components/SimulationBehaviourUpdater.cs:246) hi~ i hv this error. its the same line and same PlayerMovement script as your's. y do i still hv this error? hope ucan reply to this comment
I remember finding out about photon pun, and loved how there where so many tutorials on how to use it, but since moving to fusion, there aren’t many good ones, but this one is definitely a good one!
thank you very much bro
How can i spawn different player model for host and client? any idea? i mean host is cylinder and client is cube, all the client will be cube
I've tried Photon Pun 2 and followed everything in the video guides, but I get errors when joining with a second Unity window. The first window works fine and can see the other player, but the second window throws errors like 'Failed to find a PhotonView with ID=1 for incoming OwnershipUpdate event,' and it can't even see the first player. It's been two days, and I haven't been able to fix it. I'm very tired and a bit frustrated. It's midnight, and I'm considering trying Photon Fusion by watching your video. Is Fusion better, by the way?
you're supposed to use photon fusion not photon pun
@@jollyname I know. I mean I've tried Pun first as they were showing in the video and it gave me errors; didn't work for me for some reason. Now I wanna try Fusion, using your video guide
@@nikson12gg Sorry for late response, but yes for now I recommend you to use Photon Fusion 2 and there is an also very good documentation you can follow to make your multiplayer game with Fusion 2. Link: doc.photonengine.com/fusion/current/fusion-intro#
He basicly just explains what Photon fusion gives you as tutorial, but its better then the text.
how do i make the other player who joined to spawn in one position but i should spawn on the opposite side vice versa but both of us should see themself in left side and the enemy in right side
I'm not sure If I understood your question correctly but to spawn players to left side, and enemies on the right side of game, you can get positions of the left & right side by Debug.log() and paste that Vector3 in PlayerSpawner. For enemy you can create another script which you are going to use Instantiate() for that, and paste the right side position there.
adding jumping is so hard for me I have tried but just gotten errors can you help me
You can follow 11:33 closely again to do the work. However, if you are still struggling then you can contact with me by email (satakisiyev8@gmail.com).
when i test the final project. the second player appear in another independent room. the 2 player werent in the same scene
Did you follow all steps in the video?
@cyberduck1311 yes, but I saw several tutorials before and not even one can work, so maybe it's my computer problem
@@rogerd4257 I don't think it's a computer problem. I think you may have missed one of the steps in the video.
@cyberduck1311 thank you, I'll check one more time. And Your tutorial is awesome BTW 👌.
It's happening to me, too. There is only one player per instance. I'm on a Mac, in case that makes any difference at all.
how do i get rid of the ui and just if u play the game it just joins a sever all ready?
It's very simple but it takes 2-3 mins explanation. I can make another video about that.
@@cyberduck1311 yes plz and thanks
@@Tommy-gg5jw I think if you set the network starter to Automatic
but how to join if game on other computer
I joined the game on computer. I didn't exactly get what you mean. Can you elaborate that?
@@cyberduck1311 I think he means how do you join from outside your network. Port forwarding/etc
@@cyberduck1311 I think he means how can other people join using a different device
@@JacobAlkhal well, if it is the question, you don't need to do anything additional. After you build this game you can share .exe with your other computer. When you open the game in another computer there won't be any problem.
player spawn no working
send screenshot of an error to with email: satakisiyev8@gmail.com
NullReferenceException: Object reference not set to an instance of an object
PlayerMovement.FixedUpdateNetwork () (at Assets/PlayerMovement.cs:31)
Fusion.SimulationBehaviourUpdater.InvokeFixedUpdateNetwork (Fusion.SimulationStages stage, Fusion.SimulationModes mode, Fusion.Topologies topology) (at Fusion/Fusion.Runtime/Components/SimulationBehaviourUpdater.cs:246)
hi~ i hv this error. its the same line and same PlayerMovement script as your's. y do i still hv this error? hope ucan reply to this comment