---
description: Where you get feedback
---

# Console Window

The console provides helpful feedback such as errors, warnings, and messages.

## Default View

**Note:** This is in a shortened window.

![A clear console](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-M9-LhgPk7u6icbdZjzL%2F-M9-LmmtNkCNA96ZGMEN%2Fimage.png?alt=media\&token=732aa590-784a-4d3b-99d0-47850d1bffec)

![Console showing how each type of console message or "log" appears.](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-M9-LhgPk7u6icbdZjzL%2F-M9-REkEqIOLEkjFvwZt%2Fimage.png?alt=media\&token=3fdf3b51-bb66-4bfc-93af-ddd8881e973b)

Clicking on a message provides more information:

![Console with detailed information](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-M9-f-iv14OTEBU8qTMQ%2F-M9-rWzWI5S8GqWf49qg%2Fimage.png?alt=media\&token=9f8e9ddb-4f32-4623-8cd2-7d2c92bf5b83)

### **Errors**

**How to read the error above:**

| What                                   | Seen in Console Message            |
| -------------------------------------- | ---------------------------------- |
| Printed messag&#x65;**:**              | This is an example of an error.    |
| What code printed the error:           | UnityEngine.Debug.LogError(Object) |
| Name of the script catching the error: | SampleMessage.cs                   |
| Function name within the script:       | Update()                           |
| File path of the script:               | Assets/Scripts/SampleMessage.cs    |
| Line with error or error catch:        | 18                                 |

## Options

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-M9-LhgPk7u6icbdZjzL%2F-M9-LzjpK1dxy6TTABoj%2Fimage.png?alt=media\&token=c34c726e-7186-4c6b-bd2f-b9439fbc7a06)

**Clear** - Clears messages, warnings, and errors.

**Collapse** - Similar messages can be collapsed, resulting in one full message and the number of instances to the right. When not collapsed, the full message appears repeatedly.

![Collapse is turned on](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-M9-LhgPk7u6icbdZjzL%2F-M9-MqerIw2s9U28f-Ba%2Fimage.png?alt=media\&token=d947b4eb-d803-4150-8f2a-447126540975)

![Collapse is turned off](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-M9-LhgPk7u6icbdZjzL%2F-M9-MwF9jWbJxG1O7YXK%2Fimage.png?alt=media\&token=65452803-73a6-4673-ad3d-bd68de39d8c4)

**Clear on Play** - When on, past messages are cleared when Play is clicked

**Error Pause** - When selected, the game will pause when it encounters an error. This helps for errors that aren't big enough to "break" the visuals of the game and might get buried in Console messages.

**Editor (Dropdown)** - Provides more options about what messages are displayed.

**Search** - Results will appear and the term will be highlighted in blue. Click the x on the right side of the bar to clear the search.

**Count** - Number of messages, warnings, and errors. You can toggle these by clicking on the type you want to hide or show.&#x20;

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-M9-LhgPk7u6icbdZjzL%2F-M9-PVF6K8dOVAJR5CFQ%2Fimage.png?alt=media\&token=03cc2b11-2e8c-4228-b0da-537c51872b5a)
