ドキュメント

サポート

Multiplayer Services SDK

All Services

Multiplayer Services SDK

Verbose logging in multiplayer games

Enable verbose logging in your multiplayer project to troubleshoot issues.
読み終わるまでの所要時間 1 分最終更新 5時間前

Verbose logs can help you diagnose issues in your project and understand the steps that SDKs are executing. To enable verbose logging, add any of the following symbols to your Scripting Defines.
ヒント
It's not recommended to always have verbose logging enabled because it generates a lot of data and can impact the performance of a live game. The recommended best practice is to temporarily enable verbose logging when trying to identify the cause of an issue or bug.
The following table specifies the define symbols and relevant packages.

Define symbol

Scope

ENABLE_UNITY_SERVICES_VERBOSE_LOGGING
Unity Services SDK
ENABLE_UNITY_MULTIPLAYER_VERBOSE_LOGGING
Multiplayer Services SDK
ENABLE_UNITY_WIRE_VERBOSE_LOGGING
Wire
Unity Services verbose logging acts as an additional gate for the verbose log categories listed above and should be included with the other scopes. This allows for simpler verbose logging toggles through the define symbols. Debugging and logging for Multiplayer Play Mode is available within the Editor Diagnostics settings in the Unity Editor.