> For the complete documentation index, see [llms.txt](https://docs.convai.com/staging/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/staging/plugins-and-integrations/convai-unity-sdk/advanced-topics.md). Agents can also search and read this documentation through its [MCP server](https://docs.convai.com/staging/~gitbook/mcp).

# Customize and extend the SDK

Replace the SDK-supplied providers, extend the runtime with your own modules, and diagnose latency with the built-in telemetry.

The Convai Unity SDK works out of the box for most training simulations, interactive experiences, and games. This section covers what to reach for when the defaults do not fit your deployment: replacing built-in providers with custom implementations, diagnosing performance issues with built-in telemetry, and adding custom modules to the runtime.

{% hint style="info" %}
These pages assume C# proficiency and familiarity with Unity's component lifecycle. If you are still setting up your first scene, start with the [Getting Started](https://docs.convai.com/staging/plugins-and-integrations/convai-unity-sdk/getting-started.md) section.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Credentials, identity, and storage</strong><br>Replace the SDK's credential, identity, and persistence systems with your own implementations. Essential for CI pipelines, auth-backed identity, and cloud save integration.</td><td><a href="https://docs.convai.com/staging/plugins-and-integrations/convai-unity-sdk/advanced-topics/custom-providers.md">Credentials, identity, and storage</a></td></tr><tr><td><strong>Logging, metrics, and retry policy</strong><br>Tune log verbosity per subsystem, read server-side pipeline latency metrics, and configure retry behavior for resilient connections.</td><td><a href="https://docs.convai.com/staging/plugins-and-integrations/convai-unity-sdk/advanced-topics/performance-and-optimization.md">Logging, metrics, and retry policy</a></td></tr><tr><td><strong>Runtime module system</strong><br>Understand when to build custom modules, how the module lifecycle works, and which SDK extension points are safe to use.</td><td><a href="https://docs.convai.com/staging/plugins-and-integrations/convai-unity-sdk/advanced-topics/extending-the-sdk.md">Runtime module system</a></td></tr></tbody></table>
