Crash Course

Networking
Fish-Net

This is configured to use UDP sockets with the Tugboat transport. WebGL requires the Bayou transport, which is not included in this demo yet.


Prerequisites

  • Unity 2020.3 + Linux Dedicated Server build module
  • Dedicated Server build module for your development platformg

Getting started

Installing the plugin

First, install the Rivet Plugin. There are several ways to do this, but we'll do it with the Git URL through the Unity Package Manager.

  1. Open the Package Manager
  2. Click the + button in the top left
  3. Select Add package from git URL
  4. Enter https://github.com/rivet-gg/plugin-unity.git?path=Assets/Rivet
  5. Click Add

Using the plugin

To open the Rivet Plugin, click Window > Rivet > Rivet. This will open the plugin in a separate window. You can drag it to somewhere within the Unity editor for easier access.

Sign in

The first thing you'll need to do in the plugin is sign in. Click the Sign In button and follow the instructions. This will bring up the Rivet hub so that you can select the game you want to connect the editor to.

Develop tab

Once you sign in, across the top of the plugin are several tabs. The Develop tab is where you'll be able to start a local Unity server for testing, and configure other settings.

Develop tab

Deploy tab

The deploy tab is used to build a containerized version of your game server, and send it off to Rivet's cloud to run.

Deploy tab

Was this page helpful?

Edit Page

Rivet

Open-source multiplayer infrastructure. Easy, flexible, and affordable.

This website is not sponsored by or affiliated with Unity Technologies or its affiliates. Unity Trademark(s) are trademark(s) or registered trademark(s) of Unity Technologies or its affiliates in the U.S. and elsewhere. | This website is not sponsored by, affiliated with, or endorsed by Epic Games, Inc. or its affiliates. 'Unreal Engine' is a trademark or registered trademark of Epic Games, Inc. in the U.S. and elsewhere. | The HTML5 Logo by the World Wide Web Consortium (W3C), used under a Creative Commons Attribution 3.0 License. Source | The Godot Engine Logo by the Andrea Calabró, used under a Creative Commons Attribution 4.0 International License. Source | Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein.

© 2024 Rivet Gaming, Inc. All rights reserved.