---
source_url: https://www.pubnub.com/docs/chat/unity-chat-sdk/build/features/error-logging
title: Error logging
updated_at: 2026-06-16T12:48:59.833Z
---

> Documentation Index
> For a curated overview of PubNub documentation, see: https://www.pubnub.com/docs/llms.txt
> For the full list of all documentation pages, see: https://www.pubnub.com/docs/llms-full.txt


# Error logging

Chat SDK records all errors by default from initialization until app closure. Use these logs to debug issues and prevent future errors.

Unity Chat SDK uses the default Unity Editor logging functionality. See the [official Unity documentation](https://docs.unity3d.com/Manual/LogFiles.html) for details on accessing and analyzing log files.