alvyxaz / barebones-masterserver

Master Server framework for Unity
475 stars 106 forks source link

Upgrade to unity 2019.4+. Removing descontinued UNET. Add Mirror Networking and more #236

Closed jasielmacedo closed 3 years ago

jasielmacedo commented 3 years ago

Hello, this PR contains a big update.

The most important one is UNET removal. As you know, UNET is currently deprecated since Unity v2017 but we have a new library used by a lot of game developers and AAA games made in Unity called Mirror https://mirror-networking.com/docs/ and this update puts barebones-masterserver back to the game.

I didn't change the barebones-masterserver core, I just update it.

Key Features:

Mirror Core

I've added the Mirror Networking Core into this repository just to make sure that everything will work without problem. But for the Asset store release you can just remove Mirror folder.

Tests:

I've made a lot of tests and builds to be sure that this update is working. Tested on Mac and Windows.

And I'm currently using this update into my own multiplayer game.

About this PR:

If you accept this PR, I can update(if you want )each wiki page containing the descontinued UNET replacing by Mirror.

MostHated commented 3 years ago

This project was picked up and maintained here, if you are interested.

https://github.com/aevien/master-server-framework

Though, it looks like a new repo and site were made: https://github.com/aevien/MST https://master-toolkit.com

jasielmacedo commented 3 years ago

This project was picked up and maintained here, if you are interested.

https://github.com/aevien/master-server-framework

Though, it looks like a new repo and site were made: https://github.com/aevien/MST https://master-toolkit.com

Thanks, I didn't see any official warning about this new repository. And I have a lot of changes that I've created for my fork repository. And so now I decided to open a PR with one of these things.

I'll try to contribute in this new one.

MostHated commented 3 years ago

Yeah, I don't think there has been anything that has been actually "official" announced in years. Last year, or the year before. the fella who made the new repo announced it in the Discord channel and then I suppose people just started telling other people, etc. It would definitely be nice to at least have an official deprecation of this one with a link to the new one, or something along those lines.