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 . If any initialization error occurs, Unity Player stops running with an error exit code.
stderrBy default, Unity writes standard log output into a log file located in your current home directory at . You can customize this path via the Player Data Path setting (menu: > Other Settings > Configuration > Player Data path) or using the command line arguments.
~/.config/unity3d/CompanyName/ProductName/Player.logPlayer Settings
?
If the standard log output fails to initialize, Unity writes the log output to the console.