What is the easiest & cheapest framework to implement multiplayer?

And that works on Switch as well as PC.
PUN2? unity net? something else?
Easy for me means that I don’t need to add net code inside game logic.
The project is not ECS unfortunately.
What needs to be sync are position rotation, a few floats per items and animator state.

$ including the relay server, ideally that can do local network on switch.

I definitely wouldn’t go with Unet as it’s deprecated. I’m using PUN2 at the moment and I’m really happy with it. Haven’t tried on Switch though. Many developers talk about Mirror as well.

You will find a list of networking solutions in this thread:

PUN 2 will work on Nintendo Switch but does not support local network on any platform.
Even if a networking solution does P2P, you will have to run servers for matchmaking and such. So you’re usually not off the hook entirely. Also, relays are actually better for mobile games, when the ISPs might prevent your players from directly connecting.

1 Like

How about Mirror, does it work on Nintendo Switch?

For server authoritative I’d go with Fish-Networking. I’m comfortable saying it’s the most flexible free server authoritative solution. As Tobiass said though even with something like FN you still need to pay server cost, with the exception of you use a relay like FishySteamworks or FishyEOS.

However, if you are very new to networking I’d expect a challenge and you might be more comfortable on using something like PUN2. It has lobby’s and matchmaking built in. It’s also very easy to pickup. Downsides is it’s easy for players to cheat; not an issue if making for friends though.

Given how simple you state your game is I’m recommending PUN on this one to get your feet wet. If it’s as simple as you say changing to server auth down the road would be very easy.

Fish net has a EOS transport?