Skip to main content
Enterprise License

Floating Licenses

How to create and install floating license keys for the Off World Live Toolkit

Last updated About 4 hours ago

Summary

Floating licenses need an internet connection the whole time Unreal is running. For a computer that isn't online, use an Enterprise Machine License.

Floating licenses are the main license type in the Enterprise License.

Projects, computers, containers and virtual machines can use a floating license key without installing a license on each machine.

A seat is only taken from your pool while Unreal is running, and it goes back when Unreal closes.

Create a New Key

You need a floating license key to use the Enterprise License:

  • The key licenses machines, projects, render farms etc.

  • It also guarantees the accuracy of the license metering, so you can be sure your usage is counted correctly.

  • You can have up to 100 active keys, for example one per project, if you want to split costs or track usage separately.

  • You can limit how many seats a key can use, so one project can't use up your whole pool.

  • To create a key:

Open the License Utility

  1. Open the License Utility either:

    1. From Unreal Editor: open the Off World Live menu in the toolbar, then choose License Utility under Account.

    2. From the plugin folder: open Plugins\OWLLivestreamingToolkit\Utils in your project (or engine) folder, and double-click owl-licensing-utility.exe.

  2. When it opens, choose Floating License. This only appears while the computer is online.

Generate a Key

Important: keep the License Utility window open until you finish. Until you save or install it, the new key only exists in that window.

  1. On the Floating License page, click Generate a file:

    1. If this project already has a key, the page shows that key instead.

    2. To make a new one, click Generate another key in the bottom left.

Name the Key

  1. Type a name for the key, such as render-farm-london:

  2. The name identifies the key on your account, in the License Utility and in Unreal.

Back Up the Key

The file contains your private key, so don't share it. Anyone who has it can use your seats.

  1. Save the key to a file:

  2. The private key can't be recovered, so keep the file somewhere safe, such as a password manager.

  3. If you lose every copy, you have to create and register a new key.

Register the Key

  1. Register the key on your Off World Live account so it can use the seats you've bought:

    1. Click Copy. This copies only the public part of your key, so it's safe to paste into a browser or email:

    2. Click the Off World Live account link in the utility to go to the Enterprise page, open the Keys tab and click Add key:

    3. If you want, set a Concurrent floating machine cap: the most seats this key can use at once.

    4. Click Add key.

Confirm Registration

  1. Back in the License Utility, the key shows Registered:

  2. If it still says Not registered yet, click Check again.

  3. A new key can take up to about two minutes to start working everywhere. Until then, your account shows it as Syncing.

Load an Existing Key

If you already have a key file, such as your backup or a key a colleague created, load it instead of generating a new key:

  1. On the Floating License page, under Already have a key?, click Load a license file and choose the key file:

  2. The utility shows the key's name, whether it's registered, and whether it's installed on this computer.

  3. Click Install key to choose how to install it. If the key isn't registered yet, Register instructions shows you how:

Install the Key

  • You can install the License Key in three ways:

Project

The license only travels with the project if the key file does, so commit it with the project. If it's missing, Unreal warns you and names the path, and uses this computer's own key if it has one.

The key is saved in the project, so everyone who works on the project can use it without installing anything.

  1. Choose To this project only, then click Install and lock to <project>, or Choose another project.

    1. Commit Config/OWLCloudLicence.json to your project's repository, and never put it anywhere public.

    2. If you leave it out of source control, each person needs a key installed on their own computer instead.

    3. If the key file is missing, Unreal shows Floating License Key File Missing with the path it looked for.

  2. The key is saved in the project's Config folder, and Enable floating license is turned on.

  3. If the project is open in Unreal Editor, restart the editor.

  4. A key installed this way only works in a project with the same name (upper and lower case don't matter).

    1. Copied into another project, it's refused with a message naming the project it belongs to.

    2. If you rename your project, rename it back, or install the key again from the License Utility.

    3. The lock stops a copied key working in other projects, but anyone could still use it in a project with the same name, so keep the key file private.

  5. To use the key in packaged builds, checkInclude key file in packaged builds in Project Settings> Plugins> Off World Live Toolkit

Environment Variable

Don't build the key into a machine image or container image. Anyone who has the image can use your seats.

Every machine, virtual machine and container uses one seat while Unreal runs. Several Unreal processes on the same machine share that seat.

For machines that are created automatically, such as cloud virtual machines, render nodes and Unreal running in Docker, give each one the OWL_CLOUD_LICENSE environment variable when it starts:

  • Render farm managers such as Deadline: add OWL_CLOUD_LICENSE to the job's environment and store the value as a secret.

  • Docker: pass it when the container starts with docker run -e OWL_CLOUD_LICENSE ..., never in the Dockerfile. With no value after it, Docker copies the variable from the host, so the key never shows in the command or in logs.

  • Automated builds: store the value as a secret named OWL_CLOUD_LICENSE and pass it to the job's environment.

  1. Copy the OWL_CLOUD_LICENSE value from the utility:

    1. The value is the whole key file encoded as base64, because raw JSON gets mangled by shells, Dockerfiles and secret stores. Plain JSON also works if your tooling can carry it safely.

    2. The value contains the private key, so treat it like a password.

  2. Before you start a render:

    1. The project must have Enable floating license turned on in Project Settings> Plugins> Off World Live Toolkit.

      1. This can't be set from the command line, and the environment variable doesn't turn it on.

    2. Add -OWLCloudFailureMode=HardExit so a job without a license stops instead of rendering watermarked frames.

    3. This also skips Require opt-in, so you don't need -OWLCloudOptIn as well.

    4. Optionally, add -OWLCloudTag=<label> to label the job on your account.

    5. Each option also has an environment variable version: OWL_CLOUD_FAILURE_MODE, OWL_CLOUD_OPT_IN=1 and OWL_CLOUD_TAG.

$env:OWL_CLOUD_LICENSE = "<the value you copied>"
UnrealEditor-Cmd.exe MyProject.uproject /Game/Maps/Shot040 -game -RenderOffscreen `
  "-MoviePipelineConfig=/Game/Render/Shot040Queue" `
  -OWLCloudOptIn -OWLCloudFailureMode=HardExit -OWLCloudTag=job-88213

Computer

A key installed on a computer only works in projects that have Enable floating license turned on. It's off by default.

  • Choose To the system. Then choose This user, or All users (needs Administrator) so everyone who signs in to the computer can use it.

  • When you open a project with Enable floating license switched off, Unreal Editor offers: A floating license key is installed on this computer.

    The question shown when a packaged app starts
    • Enable turns it on for everyone who opens the project.

    • Not for this project stops the offer for you, in this project only.

  • To remove the key, open the Floating License page in the License Utility and click Uninstall key globally.

Which Key is Used?

If a machine has more than one key, Unreal uses the first it finds, in this order:

  1. The OWL_CLOUD_LICENSE environment variable.

  2. The project's key file.

  3. A key installed on the computer.

  • A key that can't be used, for example a damaged key file, is an error.

  • Unreal doesn't skip it and use the next key, so a mistake never bills a key incorrectly.

  • To see which key is in use, point at the Floating License row in the Off World Live menu.

  • It shows the key's name and where it was found, for example Key: render-farm-london (floating license, from the OWL_CLOUD_LICENSE environment variable).

Failure Modes

  • This is a setting found in Project Settings> Plugins> Off World Live Toolkit which decides what happens when Unreal can't use the floating license due to no internet connection or all seats being already consumed:

    • Fallback To Existing Licensing: Unreal keeps running and uses any other Off World Live license the machine has, such as an Enterprise Machine License.

      • If there are none, it keeps running with a watermark.

    • Hard Exit: Unreal closes.

      • Best for render farms, where a failed job you can rerun is better than finished frames with a watermark.

      • In Unreal Editor, you get a 10-second countdown with a Cancel button, so you can keep working on your other licenses instead.

        The Hard Exit countdown in Unreal Editor
  • When the machine can't reach Off World Live servers:

    • Offline when Unreal started:

      • Unreal tries for a few seconds, then follows your Failure mode right away.

    • Online, but couldn't reach Off World Live when Unreal started:

      • Unreal keeps working fully licensed and keeps trying.

      • It follows your Failure mode only if it still can't connect after about 10 minutes.

    • The connection dropped while Unreal was running:

      • Unreal keeps working fully licensed for about 10 minutes. A short outage never interrupts a render.

Floating License Messages

Unreal Editor shows a pop-up when the floating license changes state. The same text is in the Output Log.

  • Floating License Server Unreachable: work continues. If the server doesn't come back within about 10 minutes, the failure mode applies.

  • Floating License Reconnected: the floating license is in use again.

  • Offline: Floating License Unavailable: the computer is offline at startup. Unreal uses your other licenses, and switches to the floating license when it's back online.

  • Floating License Lost or Floating License Unavailable: the key can't be used right now. The message says why, and the failure mode applies. The reasons include:

    • Network not allowed: the key only works from certain internet addresses. Add this one on the Keys tab of the Enterprise Licenses page of your account, or use the key from an allowed network.

    • Project not allowed: the key only works in certain Unreal projects. Add this project on the Keys tab, or use a key for this project.

    • The key is locked to another project. If you renamed your project, rename it back. Otherwise ask the key's owner to install it into this project with the License Utility.

    • The key is disabled, or the plan is suspended, or billing is inactive. Fix it on your account page.

  • No Floating License Key: no key was found on this computer. Ask your administrator for one, or install one with the License Utility.

  • Floating License Available: this project can use your organization's floating license. Enable Use Floating License in the Off World Live menu.

License Settings

In Unreal Editor, open Edit > Project Settings, scroll to Plugins, choose Off World Live Toolkit and find the Floating License section:

  • These settings are saved in the project, so everyone who opens it gets the same settings.

  • They only affect floating licenses: an Enterprise Machine License works without any of them:

    The Floating License settings in Project Settings

Floating license name

  • The name given to the key in the License Utility.

Locked to project

  • The License Utility can lock a key to one project. This row shows that project's name, or Not locked.

  • If the key is locked to a different project, the row says This key will not work in this project.

  • To lock or unlock a key, install it again from the License Utility.

Usage tag

  • An optional label, such as a job number, shot or department, sent with each check-in. It appears next to the machine on the Usage tab of your account, so you can see who or what is using your seats.

Project key file

  • Where the project's floating license key is saved. Click the folder button to pick a different file. Keep it inside the project folder, or other machines and packaged builds may not find it.

Include key file in packaged builds

  • When it's on, packaging the project copies the key file into the packaged build, so the packaged app can use your seats too. It takes effect from the next time you package.

  • Anyone who has a packaged build with the key in it can use your seats so turn this off before you package a build for people outside your organization.

Editor Dropdown

Open the Off World Live menu in the toolbar.

  • Use Floating License turns the floating license on or off for you, when the project has Require opt-in turned on.

  • Under Licenses, the Floating License row shows what the floating license is doing. Point at it to see the key in use, where it was found, and when it last checked in.

  • If a machine license is installed on the computer, it's used instead and no floating seat is taken. The row says so.

  • License Utility opens the License Utility:

    The Floating License row in the Off World Live menu

For IT and network administrators: firewall addresses, file locations, settings files and scripting are in IT and Network Administrators.

Was this helpful?

Still need help? Ask the team