Documentation

Unity Spark

Open Unity Spark

Unity Spark

Slash commands reference

Find the built-in slash commands you can use in the prompt composer to start a new game, run a playtest, fix errors, or change assistant settings.
Read time 2 minutesLast updated 3 hours ago

Find the built-in slash commands available in the prompt composer. For instructions, refer to Use slash commands in Unity Spark.

Built-in slash commands

The following table describes each built-in slash command.

Command

Description

/new-game [idea]
Starts a new game in the current project. The assistant prompts you in a single form for the core action, genre, art style, target audience, and references. The assistant then generates a game brief and proposes a plan for a first playable version. If you include an
[idea]
argument, the assistant asks only for the missing details.
/playtest [focus]
Sends the request in Agent mode and changes this conversation to Auto playtest, so the assistant plays the game itself, fixes what breaks, and reports what it played. Your default playtest mode for new conversations stays the same.
/fix-errors
Diagnoses and resolves errors from your most recent Play mode session, and then enters Play mode to verify the fixes.
/look [target]
Captures a screenshot of the viewport and describes its contents. Use this command to verify visual changes in your scene.
/mode agent
or
/mode plan
Changes the conversation between Agent mode and Plan mode.
/model [model-name]
Changes the AI model that the assistant uses. Enter the model's name as it appears in the model menu. In a conversation that already has messages, Unity Spark asks you to confirm. Refer to Choose an AI model.
/new
or
/clear
Starts a new conversation.
/help
Displays a list of all available slash commands.

Skill commands

The assistant has skills for specific kinds of work, such as character animation, visual effects, custom materials, and tweaks. Each skill has its own slash command with the same name as the skill, for example,
/character-animation
,
/particles-and-vfx
,
/custom-materials
, or
/tweaks-author
.
A skill command tells the assistant to use that skill for your request. After the command, describe what you want, for example,
/character-animation make the player wave when they win
.
Most skills work only in Agent mode. To display the full list of skill commands, enter
/help
.

Additional resources