COOP GAME - Netcode for Gameobjects and Vivox

Hi everyone,

I’m currently working on developing my coop game (for 2 people in one lobby max) in Unity, and I’d like to implement a player connection system and real-time voice chat similar to the one seen in the game We Were Here (public/private lobby with password).

Can anyone tell me if I can achieve this by using solutions like Netcode for Gameobjects and Vivox? Will these tools allow me to create public lobbies (where one player is host) where players can join random games and utilize real-time voice communication?

Additionally, I’m interested to know if there’s any cost associated with using Netcode for Gameobjects and Vivox? And can someone explain how the 5000 PCU limit works (for Vivox) and whether there are any additional fees if we exceed this limit?

or if there are any better or more suitable alternatives to Netcode for Gameobjects and Vivox that you might recommend for creating a similar multiplayer experience?

According to how it‘s advertised: yes to the first two questions.

Cost: you pay for Unity Gaming Services (Hosting, Lobby, Matchmaking, …). PCU 5000 means you can have up to this many players playing simultaneously at any given time, worldwide. If you get to that point, your sales must be roughly ten times that. You can do the math whether to worry about paying services at that point. :wink:

Generally speaking it‘s actually rare to see a game that passes these CCU limits of any framework. In that sense: make the game first. :wink:
And when you do have to pay, the payments are comparatively minor to what you earn in revenue - provided you don‘t sell too cheap or you are maintaining a legacy game that still gets played a lot but doesn‘t sell anymore.

Thanks for the response!

Vivox gives the PCU limit, not the CCU, that’s why I’m asking because I don’t know what exactly is the difference, but actually this limit will be enough for my game, but…

I don’t fully understand - “you pay for Unity Gaming Services (Hosting, Lobby, Matchmaking, …)”.
So, is Netcode for Gameobjects paid? From what I just checked, it’s free, unless it refers to something else… or maybe it requires the Unity Pro package to use Netcode?

NGO is free, UGS is not but also only once you reach certain limits.

NGO= Netcode
UGS= Unity Gaming Services

See: https://unity.com/de/solutions/gaming-services/pricing

1 Like

I think you ment https://unity.com/solutions/gaming-services/pricing

Yeah, sorry. I meant the english page. :wink:

Damn Unity page always wants to show me everything in my local language. And that translation sucks, like really bad. Like the kind of bad where commonly used technical english terms are translated to the weirdest sounding german word constructs nobody ever uses to mention said technology, not even locals who don’t speak english. To top it off the grammar is often like the way only a stiffnecked person would phrase sentences.

Sorry for ranting. :smile:

1 Like

oh okaaay I understand now - I don’t pay for NGO, but i need to pay for Relay to keep players connected.

1 Like