Get the package
ProtokitePlaytest-<version>.unitypackage is
also attached to every Flock Unity SDK release, at the same version.What a playtest collects
Before you start
- The Flock SDK is set up and working in the project: Api Url, Api Key, Game Name and Game Version (your game’s own version) on the Configuration tab of Flock → Settings, with a Resolved Version ID filled in. See the Unity SDK page.
- A playtest exists in Protokite. Creating one makes a Flock game version for it, named
pt-followed by the test’s ID. - Video is recorded on 64-bit Windows and Android. Every other platform runs the rest of the playtest and says once in the log that it records no video. See Platforms.
Step 1: Install the package
Open the Playtesting tab

Flock → Settings → Playtesting, before the package is installed.
Press Install Protokite Playtest
Assets/ProtokitePlaytest.
No Git is needed. Unity compiles it, and the tab then shows the installed version and its folder
(Installed: version …, in …), with two buttons you use in the next steps, Open Playtest Settings and
Check Playtest Setup, and Remove. This line is where to read the package’s version later; a package
added through Package Manager also shows its version in Package Manager.
The same tab once the package is installed: its version, the folder it is in, and the buttons for the next steps.
Protokite.Playtest.
Scripts outside any assembly definition see it already. A script inside one of your own assembly
definitions needs it added: select your .asmdef, add Protokite.Playtest under Assembly Definition
References, and press Apply.Step 2: Point the build at the playtest
Protokite finds the playtest from the playtest’s own Flock version. The build sends it to Protokite only: your Game Version stays your game’s, with everything you set up under it in Flock.Turn playtesting on
Assets/Resources/ProtokitePlaytestSettings.asset with playtesting off and
selects it in the Inspector. Tick Playtesting Enabled.Protokite Api Url is already set to Protokite’s address, https://api-protokite.qwacks.com. Leave it as
it is, unless you run a Protokite server of your own. The URL must start with http:// or https:// and
contain no spaces; one that does not is refused rather than tidied up.
Protokite → Playtest → Settings: the switch, the Protokite URL, the Playtest ID with the version it resolved to and what Flock found, the question put to the player, the feedback form and the recording settings.
Paste the playtest's ID
/tests/). Paste either into Playtest ID in the playtest settings.
The editor finds the playtest’s version through Flock, shows it under Resolved Version ID, and says
below it what Flock found.- Playtest ID filled in, as in the steps above: the build joins that playtest. Use this for a playtest you send to players, so every build joins the one you meant.
- Playtest ID left empty: the build joins your game’s newest playtest, whichever is newest in Protokite when the build starts, even one you have closed. A playtest created later is joined from the next launch, never in the middle of one. Handy while you try things out with one playtest at a time.
- Playtest ID empty and Game Version set to a playtest’s name,
pt-followed by the test’s ID: the way before 1.68.0, kept so earlier projects still work. Your whole game then runs under the playtest’s version, so a new project uses the Playtest ID instead.
Step 3: Check your setup
Choose Protokite → Playtest → Setup Checks And Test Video, or press Check Playtest Setup on the Playtesting tab. The window checks what a build of this project needs for a playtest: four checks, for the switch, the URL, which playtest the build joins, and video. The three rows below about which playtest are alternatives, and the window shows only the one that matches your settings. A check that passes has a green tick and says so:
Protokite → Playtest → Setup Checks And Test Video, for a project that builds for Android: all four checks pass.
Step 4: Sign a player in
A playtest never signs a player in. Its session (a stretch of play, by default one launch of the game, as it shows on the playtest’s Sessions page) starts once a Flock session reaches the server. A Flock session is the Flock SDK’s own record of a play session, and it starts when your game signs a player in, with these on in Flock → Settings → Advanced Settings:- Auto-Initialize On Load, in the Tools card, so the Flock SDK starts when the game does (or a FlockBootstrap in your first scene);
- Analytics Enabled, and Analytics Auto Start Session under Analytics Settings (or your game calls
FlockClient.Instance.Analytics.StartSessionAsync()itself); - and, when Analytics Require Explicit Consent is on, the player’s consent to your game’s analytics.

Flock → Settings → Advanced Settings: Analytics Enabled ticked, and Analytics Settings open with Analytics Auto Start Session ticked.
PlayerInvalidLoginCredentials and the device is registered instead, which also signs it in:
Step 5: Press Play
The build asks its player to help, and collects nothing until they answer. The question, Help the developers improve this game?, under the Qwacks logo, is drawn over the game as soon as this build’s playtest has loaded, with two answers: Yes, help the developers (the screen and play data) or Not now (nothing at all, which leaves the build behaving as one with Playtesting Enabled off). Not now is saved like any other answer.
The question a playtest build puts to its player, over the game, before it collects anything.

What's collected?, over the question.
playtest_consent and playtest_consent_asked, so a session with no recording reads as a player who asked
for none rather than a build that went wrong. To be asked again in the editor, press Forget This
Machine’s Answer in the setup window.
On a phone, a second question follows an answer that lets the screen be recorded: whether recordings may upload on mobile
data or wait for Wi-Fi. See On a phone: which networks recordings upload on.
Your game can show the answer and take the question over from its own menus:
VideoAndPlayData, VideoOnly, PlayDataOnly, Nothing, and NotAnswered, which forgets the answer so the
question is put again. An answer applies at once, and the Console says what it lets the playtest collect.
SetPlaytestConsent returns false, and collects nothing, when the answer could not be saved; AskForPlaytestConsent
returns false when no playtest is loaded.
Turn Ask The Player For Playtest Consent off in the playtest settings only where your players are
asked another way, or for a test run with nobody there to answer; the build then collects what the
playtest turns on, and every session says the player was never asked. An answer a player has already given
still counts.
Watch it run
The Console says what the playtest is doing, each line starting[Protokite Playtest]:
ProtokitePlaytest.Status answers the same question the log does, and ProtokitePlaytest.Describe(status) gives
the log’s words. To react in your game, read it each frame and act when it changes:
Playtest status: WaitingForFlock. Playtesting is set up and waiting for the Flock SDK to initialize., then FetchingPlaytestConfig, then WaitingForPlayerConsent or Ready.
Every status is in the table below.
When something stops the playtest
The Console says why and what to change, once, as a warning.PlaytestNotLinked, ProtokiteRefusedApiKey, PlaytestConfigForAnotherVersion) is not asked
again until the Flock SDK starts again or the game is relaunched, since the answer would be the same.