Once Luna Replay has been installed, there are several simple steps required to setup the Unity project for use with Replay.
- Sign in to Luna Playground
- Enter your Package Id & App name
- Set API level in Player Settings
- Configure Game Variables
- Advanced Settings
Luna Playground is the user interface used for creating your video replays. It is also used to synchronise gameplay recordings (captures).
In order to use Replay, you must have access to a Luna Playground account, and sign in to this account in the Unity Editor. This need to be completed before creating your first capture.
- In Unity, select
Tools > Luna Replay > Replay Settingsin the menu bar.
- In the inspector, you will now see the Luna Replay Settings, with three tabs: Disabled, Capture and Replay.
Open the Disabled tab and enter your User Email and User Password.
The Package Id and Application name will be used to identify and synchronise your captures in Luna Playground. Please make sure they are unique.
In order to use Luna Replay, the API Compatibility Level for your project must be set to
- Open Player Settings .
- Select Player.
- Navigate to API Compatibility Level under Configuration.
.NET 4.xfrom the dropdown menu.
- For the scripting backend, Luna Replay supports
By default, you will be able to create video replays with varying resolutions, system languages and output (codecs and quality).
In order to expose your gameplay variables (i.e. characters, camera angles and colours) to be used when creating your video replays, you must apply the
LunaPlaygroundField attribute to the relevant serializable fields in Unity. Please see this guide for more details.
There are several optional settings which can be used for certain scenarios, which we have outlined here.
For example, if you are using Player Preferences in your game, then whilst these work out of the box, we recommend wrapping them in a simple API to ensure consistency across all device types.
Check out our tutorial video on how to install the Replay plugin, all the way up to creating your first video in Luna Playground.