Version: Unity 6.3 Beta (6000.3)
Language : English
Logging in embedded platforms
Configure a logging plug-in

Standard log output overview

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

Logging in embedded platforms
Configure a logging plug-in
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961