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
keylicenses 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
seatsakeycan use, so one project can't use up your wholepool.To create a
key:
Open the License Utility
Open the License Utility either:
From Unreal Editor: open the
Off World Livemenu in the toolbar, then chooseLicense UtilityunderAccount.From the plugin folder: open
Plugins\OWLLivestreamingToolkit\Utilsin your project (or engine) folder, and double-clickowl-licensing-utility.exe.
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.
On the
Floating Licensepage, clickGenerate a file:
If this project already has a
key, the page shows thatkeyinstead.To make a new one, click
Generate another keyin the bottom left.
Name the Key
Type a name for the
key, such asrender-farm-london:
The name identifies the
keyon 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.
Save the
keyto a file:
The
private keycan't be recovered, so keep the file somewhere safe, such as a password manager.If you lose every copy, you have to create and register a new
key.
Register the Key
Register the
keyon your Off World Live account so it can use theseatsyou've bought:Click
Copy. This copies only the public part of yourkey, so it's safe to paste into a browser or email:
Click the
Off World Live accountlink in the utility to go to the Enterprise page, open theKeystab and clickAdd key:
If you want, set a
Concurrent floating machine cap: the mostseatsthiskeycan use at once.Click
Add key.
Confirm Registration
Back in the
License Utility, thekeyshowsRegistered:
If it still says
Not registered yet, clickCheck again.A new
keycan take up to about two minutes to start working everywhere. Until then, your account shows it asSyncing.
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:
On the
Floating Licensepage, underAlready have a key?, clickLoad a license fileand choose the key file:
The utility shows the
key's name, whether it's registered, and whether it's installed on this computer.Click
Install keyto choose how to install it. If thekeyisn't registered yet,Register instructionsshows you how:
Install the Key
You can install the
License Keyin 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.
Choose
To this project only, then clickInstall and lock to <project>, orChoose another project.Commit
Config/OWLCloudLicence.jsonto your project's repository, and never put it anywhere public.If you leave it out of source control, each person needs a
keyinstalled on their own computer instead.If the key file is missing, Unreal shows
Floating License Key File Missingwith the path it looked for.
The
keyis saved in the project'sConfigfolder, andEnable floating licenseis turned on.If the project is open in Unreal Editor, restart the editor.
A
keyinstalled this way only works in a project with the same name (upper and lower case don't matter).Copied into another project, it's refused with a message naming the project it belongs to.
If you rename your project, rename it back, or install the
keyagain from theLicense Utility.The lock stops a copied
keyworking in other projects, but anyone could still use it in a project with the same name, so keep the key file private.
To use the
keyin packaged builds, checkInclude key file in packaged buildsinProject 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_LICENSEto 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 thekeynever shows in the command or in logs.Automated builds: store the value as a secret named
OWL_CLOUD_LICENSEand pass it to the job's environment.
Copy the
OWL_CLOUD_LICENSEvalue from the utility: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.
The value contains the
private key, so treat it like a password.
Before you start a render:
The project must have
Enable floating licenseturned on inProject Settings>Plugins>Off World Live Toolkit.This can't be set from the command line, and the
environment variabledoesn't turn it on.
Add
-OWLCloudFailureMode=HardExitso a job without a license stops instead of rendering watermarked frames.This also skips Require opt-in, so you don't need
-OWLCloudOptInas well.Optionally, add
-OWLCloudTag=<label>to label the job on your account.Each option also has an
environment variableversion: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-88213Computer
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 chooseThis user, orAll users(needs Administrator) so everyone who signs in to the computer can use it.When you open a project with
Enable floating licenseswitched off, Unreal Editor offers:A floating license key is installed on this computer.
Enableturns it on for everyone who opens the project.Not for this projectstops the offer for you, in this project only.
To remove the
key, open theFloating Licensepage in theLicense Utilityand clickUninstall key globally.
Which Key is Used?
If a machine has more than one key, Unreal uses the first it finds, in this order:
The
OWL_CLOUD_LICENSEenvironment variable.The project's key file.
A
keyinstalled on the computer.
A
keythat 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 akeyincorrectly.To see which
keyis in use, point at theFloating Licenserow in theOff World Livemenu.It shows the
key's name and where it was found, for exampleKey: 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 Toolkitwhich decides what happens when Unreal can't use thefloating licensedue to no internet connection or allseatsbeing already consumed:Fallback To Existing Licensing: Unreal keeps running and uses any other Off World Live license the machine has, such as anEnterprise 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
Cancelbutton, so you can keep working on your other licenses instead.
When the machine can't reach Off World Live servers:
Offline when Unreal started:
Unreal tries for a few seconds, then follows your
Failure moderight away.
Online, but couldn't reach Off World Live when Unreal started:
Unreal keeps working fully licensed and keeps trying.
It follows your
Failure modeonly 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: thefloating licenseis in use again.Offline: Floating License Unavailable: the computer is offline at startup. Unreal uses your other licenses, and switches to thefloating licensewhen it's back online.Floating License LostorFloating License Unavailable: thekeycan't be used right now. The message says why, and the failure mode applies. The reasons include:Network not allowed: thekeyonly works from certain internet addresses. Add this one on theKeystab of the Enterprise Licenses page of your account, or use thekeyfrom an allowed network.Project not allowed: thekeyonly works in certain Unreal projects. Add this project on theKeystab, or use akeyfor this project.The
keyis 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 theLicense Utility.The
keyis disabled, or the plan is suspended, or billing is inactive. Fix it on your account page.
No Floating License Key: nokeywas found on this computer. Ask your administrator for one, or install one with theLicense Utility.Floating License Available: this project can use your organization'sfloating license. EnableUse Floating Licensein theOff World Livemenu.
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: anEnterprise Machine Licenseworks without any of them:
Floating license name
The name given to the
keyin theLicense Utility.
Locked to project
The
License Utilitycan lock akeyto one project. This row shows that project's name, orNot locked.If the
keyis locked to a different project, the row saysThis key will not work in this project.To lock or unlock a
key, install it again from theLicense 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 theUsagetab of your account, so you can see who or what is using yourseats.
Project key file
Where the project's
floating license keyis 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
seatstoo. It takes effect from the next time you package.Anyone who has a packaged build with the
keyin it can use yourseatsso 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 Licenseturns thefloating licenseon or off for you, when the project hasRequire opt-inturned on.Under
Licenses, theFloating Licenserow shows what thefloating licenseis doing. Point at it to see thekeyin 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
seatis taken. The row says so.License Utilityopens theLicense Utility:
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