Console Window

Where you get feedback

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

Default View

Note: This is in a shortened window.

Clicking on a message provides more information:

Errors

How to read the error above:

What

Seen in Console Message

Printed message:

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

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.

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.

Last updated