---
title: Find and fix errors with the Console window
product: Unity Spark
canonical: https://docs.unity.com/en-us/unity-spark/create/test-debug/find-fix-errors
last_updated: 2026-12-01
generated_at: 2026-12-01T21:02:13.112Z
locale: en-us
---

# Find and fix errors with the Console window

> Use the Unity Spark Console window to read log messages and errors from your game and the editor, and ask the assistant to fix them.

The **Console** window shows the log messages and runtime errors that your game's scripts produce, and errors from the editor itself. Use it to find out what went wrong when your game doesn't behave as expected. The assistant can read the same errors and fix them for you.

## Open the Console window

In the **Editor** layout, the **Console** window is a tab under the [Scene view](/unity-spark/create/build/scenes/scene-view/scene-window-reference.md), next to the [Project window](/unity-spark/create/assets/manage/project-window-reference.md).

To add the **Console** window to another layout:

1. Select **Add window** (**+**) in any window group.
2. Select **Console**, or search for it in the **Search windows** field.

For more information, refer to [Unity Spark windows reference](/unity-spark/create/workspace/ui/windows-reference.md).

## Read logs and errors

Unity Spark captures console logs and runtime errors when your scripts run. Scripts run as soon as you enter Play mode, so check the **Console** window after you play your game.

For a description of each control, refer to [Console window reference](/unity-spark/create/test-debug/console-window-reference.md).

## Fix errors with the assistant

To ask the assistant to fix the errors from your last Play mode session:

1. Stop Play mode.
2. In the [Chat window](/unity-spark/create/assistant/chat-window-reference.md), enter `/fix-errors`.

The assistant diagnoses and resolves the errors from your most recent Play mode session, then enters Play mode to verify the fixes. For more information, refer to [Built-in slash commands](/unity-spark/create/assistant/slash-commands/slash-commands-reference.md#built-in-slash-commands).

The assistant also reads console output when it [playtests](/unity-spark/create/test-debug/playtest/about-playtesting.md) your game, and bug reports can include it. For more information, refer to [Introduction to test and debug tools in Unity Spark](/unity-spark/create/test-debug/about-test-debug.md).

## Additional resources

* [Introduction to test and debug tools in Unity Spark](/unity-spark/create/test-debug/about-test-debug.md)
* [Console window reference](/unity-spark/create/test-debug/console-window-reference.md)
* [Scripts](/unity-spark/create/build/scripts.md)
* [Use slash commands in Unity Spark](/unity-spark/create/assistant/slash-commands/use-slash-commands.md)
* [Playtests](/unity-spark/create/test-debug/playtest.md)
* [Report a bug in Unity Spark](/unity-spark/troubleshoot-feedback/report-bug.md)
