Documentation

Unity Spark

Open Unity Spark

Unity Spark

Introduction to playtests

Understand the Guided, Auto, and Off playtest modes in Unity Spark, when a playtest is worth the time, and the limits of playtesting.
Read time 3 minutesLast updated 3 hours ago

When the assistant creates something in Agent mode, it can check that the change works by playing your game. A playtest either has the assistant play the game itself, or gives you a checklist of goals to play through. The Playtest setting in the prompt composer decides which type of playtest runs.

Playtest modes

The Playtest setting has three modes.

Mode

What happens after the assistant creates something

GuidedThe assistant gives you a checklist of 2 to 5 goals, such as
Collect a coin
or
Reach the finish
. You play the game, mark each goal, and send the results. Guided is the default mode.
AutoThe assistant plays the game itself. It sends its own key presses and clicks, takes screenshots to check the result, fixes what breaks, and reports what it played.
OffThe assistant makes its changes without a playtest.
Each conversation keeps its own mode. When you choose a mode, it also becomes the default for new conversations in that project. Playtesting applies only in Agent mode. If you enable No questions asked, the assistant plays the game itself in Guided mode, because nobody is there to play the checklist.
For instructions, refer to Control assistant playtests.

Playtest results

After a guided playtest, the assistant receives each goal's result, your notes, any frames you marked, and any errors and log lines from the run. With an auto playtest, the assistant remembers what it observed while it played. After a playtest, the conversation window displays a summary of the results, so you can check what passed and what didn't.
The assistant can check some goals automatically while you play. For example, the assistant can detect that you reached the finish. These goals mark themselves as passed, and you can still change the mark.

Skip playtests for small changes

A playtest is most useful when you change how the game plays, such as a new mechanic, a level, or an enemy. For small or cosmetic changes, it usually costs more time than it saves. Each playtest has to start the game, play it, and stop it again. In a large project with many assets, these steps take a while.
To save time, try the following approaches:
  • Batch your requests, then test once. If you have several small changes, set Playtest to Off while you work, then enter
    /playtest
    at the end.
  • Set Playtest to Off for small tweaks. Changing a color, renaming objects, or making a slight value change rarely needs a playtest.
  • Test how the game feels for yourself, such as whether a jump is satisfying or the pacing is right. Select Play, try it, and tell the assistant what you noticed.

Playtest limitations

Playtests have the following limitations:
  • Only one playtest runs at a time. If another conversation's playtest is running, a new checklist displays Play this instead.
  • When play stops, Unity Spark discards changes you made to object properties during play. Some changes persist: new or deleted objects, and added components. Sky and lighting changes are discarded. Material changes might persist or be lost, depending on the material, so make them after play stops.
  • Undo and redo aren't available during play.
  • A playtest slows down when you change to another browser tab. To keep it running at full speed, refer to Background work and the Scene pop-out.

Additional resources