Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Standard log output overview

Provides an overview of the default log output behavior and the command line arguments to customize it.
Read time 1 minuteLast updated 21 days ago

The log output is stored in a file or can be displayed in the console. When the Unity Player initializes, any initial errors are logged in the console through
stderr
. If any initialization error occurs, Unity Player stops running with an error exit code.
By default, Unity writes standard log output into a log file located in your current home directory at
~/.config/unity3d/CompanyName/ProductName/Player.log
. You can customize this path via the Player Data Path setting (menu:
Player Settings

?

> Other Settings > Configuration > Player Data path) or using the command line arguments.
If the standard log output fails to initialize, Unity writes the log output to the console.

Additional resources