barebones-masterserver icon indicating copy to clipboard operation
barebones-masterserver copied to clipboard

UNet Deprecation

Open jholland918 opened this issue 6 years ago • 5 comments

Now that Unity has deprecated UNet (https://blogs.unity3d.com/2018/08/02/evolving-multiplayer-games-beyond-unet/), are there any plans on switching out the UNet dependencies to another transport layer?

I suppose just upgrading to whatever libraries Unity comes out with next might also be an option.

jholland918 avatar Nov 22 '18 16:11 jholland918

I have an interest in getting it working with Mirror (https://github.com/vis2k/Mirror), which is a replacement based on the old UNET HLAPI. I can see that there is already a branch somebody has created for this, and so am reaching out to them about doing the work to get it working with Mirror.

hyakugei avatar Dec 05 '18 01:12 hyakugei

I tried switching out the UNet dep with vis2k/Mirror a few weeks ago. There were a couple config classes that Mirror didn't have so I stopped because I'm no expert in networking. I suppose another option would be to look into another open source project like RevenantX/LiteNetLib.

jholland918 avatar Dec 05 '18 14:12 jholland918

Yeah, in smashing my head against this for 3 hours last night, i think it will be easier to actually do something else. Am now doing a Proof-of-Concept in Unity using a HTTP server to launch processes(games) via GET requests. So far so good.

hyakugei avatar Dec 05 '18 15:12 hyakugei

Did anyone get Mirror working with barebones-masterserver? I've been trying to manually swap it out, but there seems to be a lot missing.

JordanDargaville avatar Mar 27 '19 04:03 JordanDargaville

can use multiplayer HLAPI

Knightluozichu avatar May 20 '21 03:05 Knightluozichu