Setup

  • 2 minutes to read

Welcome! To start using UWB in your project, there is first some initial setup that needs to be done first.

Prerequisites

Unity 2021.3.x

Newer Unity versions should work, but are untested!

Platform Support

At a base level, UWB supports all major desktop platforms (Windows, Linux and MacOS). However, different engines may have different platform support. Platform different engines support are listed in the engines section.

Warning

UWB does NOT support IL2CPP. This is because UWB requires launching a separate process, which uses System.Diagnostics.Process API that IL2CPP doesn't support.

UWB does however support being code trimmed.

VoltUPR Setup

VoltUPR is a custom Unity registry that we provide for hosting some of our packages, including all of UWB's packages. To use it, your project needs to be configured to use the VoltUPR registry.

To setup the registry with your project, see here. The VoltUPR page also lists some other info that you may be interested in.

HOWEVER, an additional scope needs to be added. You need to make sure com.cysharp.unitask is added (more details are provided in the UniTask part). Once you are done configuring your projects registries, your configuration should look like:

Registry

Note

If you are using UnityNuGet already, and you choose not to use VoltUPR as a org.nuget.* scope mirror, then don't have the org.nuget scope defined for VoltUPR.

UniTask

The reason why we need to add the additional com.cysharp.unitask scope to VoltUPR is because UWB depends on UniTask. VoltUPR does provide a mirror copy of UniTask (from OpenUPM), however you may already have UniTask installed either via OpenUPM, or via Git. If you do have it installed already, and you don't want to use VoltUPR's mirror of it, then DO NOT define the additional scope as apart of VoltUPR.

Warning

If you already have UniTask installed via Git, please make sure it is the latest version!

Packages Installation

Once you have VoltUPR registry added to your project, you can install the packages via the Unity package manager GUI.

Packages

To know what packages you need, checkout the packages section.

Standard Loadout

Most developers will probably only need the 'Core' package, and a single engine with it's native Windows binaries. A basic installation might look like this.

Packages

If you plan on providing builds of your game for Linux and MacOS, install their native engine packages as well.

Usage

Once you have all the required packages that you might need, you can move onto the usage section.