Repository navigation
Releases
v1.0.11
Install
LoreMind installs and updates from a Git URL. You need Git installed on your computer (https://git-scm.com/downloads).
- Open Window > Package Management > Package Manager (Unity 6000.0 and 2022.3: Window > Package Manager).
- Click + and choose Install package from git URL (Unity 2022.3: Add package from git URL).
- Enter
https://github.com/peekllc/loremind-unity-sdk.git?path=/LoreMindand click Install (2022.3: Add).
To stay on this version, add #v1.0.11 to the end of the URL.
Already on 1.0.9 or later? Select LoreMind in Package Manager and click Update (or Manage > Update).
Updating from 1.0.8 or earlier? Download LoreMind-Upgrade-to-Package-Manager.unitypackage below, import it and click Move to Package Manager. Your settings, API keys, scenes and prefabs are kept. Unity 6.6 and later may say the package has no signature: click Import Anyway.
What's New
- Signed players.
LoreMindNPC.PlayerAssertionandNPCRespondRequest.playerAssertionsend a token your game's server signed for the player. When your project requires signed players, long-term memory requests need it. Keep the signing secret on your server, never in a game build. See https://loremind.peekgames.dev/docs/api/signed-players - New error codes.
PLAYER_ASSERTION_REQUIREDandPLAYER_ASSERTION_INVALID(HTTP 403, nothing charged), also for custom backends that forward LoreMind's answer. - Documentation links now point to https://loremind.peekgames.dev/docs. The Support buttons open an email to support@peekgames.dev.
Requires Unity 2022.3.62f2+, 6000.0.58f2+, 6000.2.6f2+ or any 6000.3 release (Unity's CVE-2025-59489 fix). LoreMind is invite-only right now: request access at https://loremind.peekgames.dev/request-access.
v1.0.10
Install
LoreMind installs and updates from a Git URL. You need Git installed on your computer (https://git-scm.com/downloads).
- Open Window > Package Management > Package Manager (Unity 6000.0 and 2022.3: Window > Package Manager).
- Click + and choose Install package from git URL (Unity 2022.3: Add package from git URL).
- Enter
https://github.com/peekllc/loremind-unity-sdk.git?path=/LoreMindand click Install (2022.3: Add).
To stay on this version, add #v1.0.10 to the end of the URL.
Updating from 1.0.8 or earlier? Download LoreMind-Upgrade-to-Package-Manager.unitypackage below, import it and click Move to Package Manager. Your settings, API keys, scenes and prefabs are kept. Unity 6.6 and later may say the package has no signature: click Import Anyway.
Installed 1.0.9 from a scoped registry? Open Packages/manifest.json in your project folder and:
- Replace
"dev.peekgames.loremind": "1.0.9"with"dev.peekgames.loremind": "https://github.com/peekllc/loremind-unity-sdk.git?path=/LoreMind". - Remove the
LoreMindentry fromscopedRegistries(remove the wholescopedRegistriesblock if it was the only one).
Save the file and return to Unity. Your scenes, prefabs and settings are kept.
What's New
- Install from a Git URL. No registry to set up. New versions appear in Package Manager with an Update button (or Manage > Update).
- Update notice in the Control Panel. When a new version is out, Window > LoreMind > Control Panel shows Update available with a link to the release notes, and Settings > Updates says how to update your project.
- Upgrade package checks for Git first. The upgrade package for 1.0.8 and earlier installs LoreMind from its Git URL, and changes nothing if Git is not installed.
Requires Unity 2022.3.62f2+, 6000.0.58f2+, 6000.2.6f2+ or any 6000.3 release (Unity's CVE-2025-59489 fix). LoreMind is invite-only right now: request access at https://loremind.peekgames.dev/request-access.
v1.0.9
Install
LoreMind now installs and updates through Package Manager.
- Edit > Project Settings > Package Manager > Scoped Registries > +: Name
LoreMind, URLhttps://registry.npmjs.org, Scopedev.peekgames. Click Save. - Window > Package Manager > My Registries > LoreMind: select LoreMind and click Install.
Updating from 1.0.8 or earlier? Download LoreMind-Upgrade-to-Package-Manager.unitypackage below, import it and click Move to Package Manager. Your settings, API keys, scenes and prefabs are kept.
No access to registry.npmjs.org? Use dev.peekgames.loremind-1.0.9.tgz below with Window > Package Manager > + > Install package from tarball.
Updating from 1.0.8 needs only the few steps under Upgrading from 1.0.8. Full details: https://peekgames.dev/docs/loremind-unity-sdk/whats-new
What's New
- Package Manager install and updates. New versions show an Update button in Package Manager, and Control Panel > Settings > Updates checks for them (once a day, and you can turn that off). The examples are a Package Manager sample.
- 600-second request timeouts. The first reply after a period of inactivity can take minutes, so NPC and Editor requests wait up to 600 seconds. If the NPC's lore is unavailable, the SDK retries after the server's
Retry-After, then reportsLORE_UNAVAILABLE. LoreMind never answers without the NPC's lore, and the SDK never invents a line. - Active Knowledge Tags narrow the NPC's lore. Unknown tags are ignored with a Console warning; if none of them exist on the Entity Mind, the request fails with
UNKNOWN_KNOWLEDGE_TAGS(no reply, no credits used). - New
OnRequestFinishedevent. Fires once when a request ends, success or failure: the place to hide a "thinking" indicator.RespondAsyncnever returns null. - Cancellation.
RespondAsync(text, cancellationToken), and requests are aborted when the NPC is destroyed or Play mode ends. - Clearer errors. New codes including
FORBIDDEN,TERMS_NOT_ACCEPTED,ENTITY_MIND_NOT_FOUND,SERVER_ERROR,UNKNOWN_KNOWLEDGE_TAGS,BUSY,EMPTY_TEXTandCANCELLED, with the server's own message. Custom backends get the same codes. - Player session tokens for your backend.
CustomBackendTransport.AuthTokenProvider/ConfigureRequest. - New
SetInCodetransport mode for games that create their transport in code. - Voice input. Just-in-time microphone permission on Android and iOS; no microphone permission at all in text-only games; the Whisper language setting is applied; clear errors when the microphone or the Whisper model isn't available.
Improvements
- Voice input stays responsive when nothing is recognized, captures all audio at low frame rates, and works while the game is paused.
- NPC context is rebuilt for every request, so global time, world events and nearby characters and objects are always current.
- An exception in one of your event listeners is logged and does not repeat or stop the other events. An NPC destroyed while waiting for a reply returns
CANCELLED. - The examples compile only when Unity's UI package (uGUI) is installed, and the example scene runs without errors in text-only projects.
- Documentation: Unity minimum versions (CVE-2025-59489), backend authentication guidance, invite-only access, and testing a local backend from a phone.
Upgrading from 1.0.8
What you need to do:
- Move to Package Manager with the upgrade package (see Install).
- Send game builds through your backend. If the transport mode is EditorDirect, switch to CustomBackend or SetInCode in the Control Panel before you build. Code that creates a
DirectApiTransportor callsLoreService.SetServerMediatedAuthbelongs inside#if UNITY_EDITOR || UNITY_SERVER. - Check your NPCs' Active Knowledge Tags. Tags saved on an NPC limit it to the lore with those tags. Remove blank tags.
- Use https backend URLs. Plain http works only for localhost, in the Editor and Development Builds.
- Enter your API key in each project. Keys are saved per project.
- Using Dissonance for voice input? Connect it with a custom audio provider.
Everything else updates automatically. After updating, LoreMind runs a one-time upgrade check that fixes what it safely can and lists what to look at (run it again from Control Panel > Settings).
Requires Unity 2022.3.62f2+, 6000.0.58f2+, 6000.2.6f2+ or any 6000.3 release (Unity's CVE-2025-59489 fix). LoreMind is invite-only right now: request access at https://loremind.peekgames.dev/request-access.
v1.0.8
v1.0.7
v1.0.6
v1.0.5
- Seed scripted dialogue into NPC memory. The new API lets you add pre-written intro lines or scripted beats to an NPC's conversation history, so the AI picks up with full context when the player responds. Great for hand-offs from fixed narrative systems (Yarn, Ink) into dynamic LoreMind conversation.
Fixes
- Backend connection test is more forgiving. It now correctly reports your backend as reachable regardless of which HTTP status code it returns for unauthenticated requests.
v1.0.4
What's New
- Lore Sync — pull your full lore state from LoreMind to a local .loremind/ folder, giving narrative designers and AI-assisted tools a structured offline reference
- Generates a knowledge graph showing which documents each NPC can access based on their tags
- Syncs documents, locations, relationships, and project settings
- Available from the Project tab or Window > LoreMind > Sync Lore Data
This significantly improves building of fixed narrative and better promotes deliberate switching between fixed story elements with a system like Yarn or Ink and dynamic conversational dialogue with NPCs.
v1.0.3
What's New
- Active Knowledge Tags — control which lore an NPC can reference at runtime, enabling quest-gated or context-sensitive conversations (e.g., an NPC doesn't know about things that would spoil fixed story or narrative elements/progression)
- Knowledge Gating section in the NPC inspector with per-tag toggles
v1.0.2
What's New
- Lore Scanner — scan your project files to automatically discover and extract lore for your Entity Minds. Supports 29 file formats including Unity assets, Godot resources, Ink/Yarn narratives, data
files, and localization formats - Lore Scanner integrated into the Welcome window as a guided onboarding step
- Privacy-first file selection — discovered files default to unchecked so you choose exactly what gets uploaded, with clear disclosure of how files are processed
- "Review in Dashboard" links directly to your scanner job results
Improvements
- Clearer scanner progress showing real-time status and elapsed time
- Better error messages when requests fail validation
- Automatic conversation history management for long sessions