Skip to content

Unity Mirror Sample project! This project demonstrates how to use Unity Transport Package (UTP) and Relay service with the Mirror Networking API.

License

Notifications You must be signed in to change notification settings

Unity-Technologies/unity-relay-mirror-sample

Repository files navigation

[DEPRECATED] Unity Relay Mirror Sample

Warning

This sample is deprecated. This sample was tested on Unity 2020.3 and is not maintained for later versions.

The Unity Relay Mirror Sample demonstrates how to use the Unity Transport Package, the Unity Relay service, and the Mirror Networking library together.

  • The Unity Transport Package is a low-level networking library that provides a connection-based abstraction layer over UDP sockets with optional functionality such as reliability, ordering, and fragmentation.
  • Relay is a Unity service that facilitates securely connecting players by using a join code style workflow without the need for dedicated game servers or peer-to-peer communication.
  • The Mirror Networking library is a high-level networking library for the Unity Platform.

The Unity Relay documentation contains additional information on the usage of this sample.

Requirements

The sample has the following requirements:

Installation

If you would like to use the code from this sample in your own project, please perform the following steps:

  1. Install the latest version of Mirror.
  2. Install the latest version of the com.unity.jobs package using the Unity Package Manager.
  3. Install the latest version of the com.unity.services.relay package using the Unity Package Manager.
  4. Copy the Assets/UTPTransport folder from this sample into the Assets/ directory of your own project.

Community and Feedback

The Unity Relay Mirror Sample is an open-source project and we encourage and welcome contributions. If you wish to contribute, be sure to review our contribution guidelines.

About

Unity Mirror Sample project! This project demonstrates how to use Unity Transport Package (UTP) and Relay service with the Mirror Networking API.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages