> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/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/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory.md).

# Long-term memory

Find guides for enabling long-term memory, identifying players, resuming sessions, and troubleshooting recall in Unreal Engine.

Long-term memory (LTM) lets a Convai character retain facts about a specific player across separate sessions. In the Convai Unreal Engine plugin, memory works when the character has LTM enabled and the chatbot sends a stable `EndUserID` at connect time.

<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>How long-term memory works</strong><br>Understand what LTM stores, how player identity scopes memory, and what your project must persist between sessions.</td><td><a href="/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/how-long-term-memory-works.md">How long-term memory works</a></td></tr><tr><td><strong>Long-term memory quick start</strong><br>Enable memory for one character, assign a stable player identity, and verify cross-session recall in Play In Editor.</td><td><a href="/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/long-term-memory-quick-start.md">Long-term memory quick start</a></td></tr><tr><td><strong>Configure memory for a character</strong><br>Enable or verify the character LTM setting and reset the local conversation link when needed.</td><td><a href="/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/configure-memory-for-a-character.md">Configure memory for a character</a></td></tr><tr><td><strong>End-user identity</strong><br>Choose and assign a stable `EndUserID` before `StartSession` so memory stays scoped to the correct player.</td><td><a href="/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/end-user-identity.md">End-user identity</a></td></tr><tr><td><strong>Speaker ID management</strong><br>Create, list, and delete Speaker ID records through Blueprint nodes when your project uses the Speaker ID workflow.</td><td><a href="/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/speaker-id-management.md">Speaker ID management</a></td></tr><tr><td><strong>LTM Blueprint reference</strong><br>Reference for runtime `Convai|LTM` Blueprint nodes, `FConvaiSpeakerInfo`, and the memory properties on both Convai components.</td><td><a href="/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/ltm-blueprint-reference.md">LTM Blueprint reference</a></td></tr><tr><td><strong>Long-term memory usage examples</strong><br>Blueprint-first patterns for returning learners, shared devices, account-backed identity, and fresh-start resets.</td><td><a href="/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/long-term-memory-usage-examples.md">Long-term memory usage examples</a></td></tr><tr><td><strong>Troubleshoot long-term memory</strong><br>Diagnose disabled memory, identity mismatches, Speaker ID failures, and sessions that start fresh.</td><td><a href="/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/troubleshoot-long-term-memory.md">Troubleshoot long-term memory</a></td></tr></tbody></table>

### Next steps

Start with [How long-term memory works](/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/how-long-term-memory-works.md) for the mental model, then follow [Long-term memory quick start](/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/long-term-memory-quick-start.md) to get memory running in your level.

{% content-ref url="/pages/Bc8OjnguS3F6H3oW7CJi" %}
[How long-term memory works](/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/how-long-term-memory-works.md)
{% endcontent-ref %}

{% content-ref url="/pages/qCWhjxGBv6qEO4Rkl0Ph" %}
[Long-term memory quick start](/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory/long-term-memory-quick-start.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/long-term-memory.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
