VR Multiplayer w/ PC Player

Hello Everyone,

I didn’t know exactly where write it… Sorry if I’ve made a mistake.

I’m working on a game project for school. Its a coop game with one player is with a HTC Vive Pro and a player with a PC. We wanted to keep it local, but a friend told to do it multi… I used a scene to test “networking script”.

I’m note sure to understand everything, but it worked. Now my problem is to be able to create 2 different kind of player, is it possible or not ? If you have any suggestions, it would be amazing :smile:

Yes, it’s quite possible. There is very little difference to Unity whether a player is using a VR setup or a PC or a mobile phone.

If your’e asking, can you have two games running at the same time on one PC and they’re talking to each other via networking?: Yes

If you’re asking, can one game be VR and the other be console?: Yes

If you’re asking, how to start one in VR mode and the other in “pancake”?: That’s up to you, but since you’re thinking about sharing the PC, then I’d suggest a startup parameter like C:\mygame.exe --noVR

If you want to know how to write multiplayer games to understand networking, I can recommend Penny’s course on Udemy or Holistic3D. The course covers UNet, which is deprecated and will be going away in a few years. But Mirror was created to replace UNet and is almost exactly the same API, so there’s still a lot of value in that course.

She’s also about to release another networking course for Photon, I think it is.

1 Like