MpsSamples icon indicating copy to clipboard operation
MpsSamples copied to clipboard

Unity Mirror in 2 projects?

Open dboon1978 opened this issue 3 years ago • 4 comments

Hey I was trying to use your Unity Mirror project as a starting point for a project, but having it in two different projects is definitely a hindrance and causing a lot of issues trying to work around it. Is there any way you can combine it into 1 project like this one that's used in the DapperDino youtube tutorial? https://github.com/natepac/playfabmirrorgameexample/tree/master

I managed to get my project working with the above repo as a starting point, but the problem there is that he's using an old version of Mirror and Playfab sdk, and upgrading causes a boatload of errors.

dboon1978 avatar Jun 15 '21 16:06 dboon1978

thanks @dboon1978 for the great feedback! We'll add it out our backlog, in the meantime if you or anyone else wants to work on that, we'd be more than happy to support!

dgkanatsios avatar Jun 17 '21 18:06 dgkanatsios

I successfully tested Server and Client Unity Mirror project using Local Docker settings. However, when I uploaded my Server build to PlayFab Multiplayer Server and tried connected to using Client project, it didn't work. I didnt tried connecting with localhost, I put my ip address and Multiplayer Server was Active, but it didn't connect. Unity Log show like this Client Recv: failed to connect to ip=20.72.156.195 port=56100 reason=System.Net.Sockets.SocketException (0x80004005) If you could update guides to test using Multiplayer Server, I would appreciate it.

GAGOSIAN84 avatar Jul 21 '21 07:07 GAGOSIAN84

I successfully tested Server and Client Unity Mirror project using Local Docker settings. However, when I uploaded my Server build to PlayFab Multiplayer Server and tried connected to using Client project, it didn't work. I didnt tried connecting with localhost, I put my ip address and Multiplayer Server was Active, but it didn't connect. Unity Log show like this Client Recv: failed to connect to ip=20.72.156.195 port=56100 reason=System.Net.Sockets.SocketException (0x80004005) If you could update guides to test using Multiplayer Server, I would appreciate it.

Found port 30000 was working.

GAGOSIAN84 avatar Jul 23 '21 03:07 GAGOSIAN84

that is great @GAGOSIAN84, let us know if we can be of further assistance!

dgkanatsios avatar Jul 23 '21 20:07 dgkanatsios

Closing because of inactivity, feel free to open another issue of there are still questions!

dgkanatsios avatar Jan 17 '23 17:01 dgkanatsios