Keeping the AI out of sight

Players should meet the NPC, not the software behind it. By default the plugin keeps the model's name, the runtime's name and their makers' names off everything it hands your game for the screen. This page says what it covers, and what a determined player can still find out. The docs follow the same rule and call the model "the NpcAct model"; only Licences names the software, because the licences require it.

The output guard

The model will sometimes say what it is. Asked twelve identity questions ("Which large language model is answering me?" and the like), it named itself or its maker in 2 of the 12 on each backend, once with the model's name, version and maker in one sentence (developer's Mac, 2026-11-21).

The guard reads the reply as it arrives. A word reaches On Text only after the guard has checked all the text up to it, so a name split across two chunks is still caught. When a reply contains a guarded word:

  • the turn stops,
  • the whole reply is withheld, not edited, and its tool calls are dropped,
  • On Failed fires with Out Of Character, and its Message is neutral: "The NPC's reply was withheld."

Text before the guarded word may already be on screen: one withheld reply had streamed "I am a large language model, trained by " before the guard saw the next word. Clear what you showed on On Failed, then show a line of your own (fallback lines).

Measured through the guard on the developer's Mac (2026-11-22): on GPU and CPU, each with speculative decoding off and Adaptive, no reply that named the stack reached On Text or On Completed, and every one that would have fired Out Of Character. On 44 ordinary test turns per backend the guard never fired, and every turn graded the same with the guard on as with it off.

On the Galaxy S26+ GPU, in a packaged Development game (2026-11-22), the guard withheld 2 of the 12 replies with speculative decoding Off and 1 with Adaptive. The guarded word never reached On Text and On Completed never fired. On Text had already received the words before the guarded one, as described above ("I am " in one reply). Which questions got a revealing reply differed from the Mac's. On the 44 ordinary turns it never fired.

The word lists

Per persona (in Output Guard):

Setting Default What it withholds
Output Guard on the built-in stack names, seven words: the model's and the runtime's names, their makers and the makers' related products, and the model host
Extra Guard Words empty your words, added to the built-in ones
Guard Out Of Character off replies that talk like an AI
Out Of Character Words empty, meaning the built-in list language model, artificial intelligence, ai, a.i., llm, chatbot, neural network, machine learning

Words match whole words, in any letter case. Guard Out Of Character is off by default because a robot or a scholar may say "AI" in character. "Large language model" is not a stack name, so with it off, a reply such as "I am a large language model." reaches the screen; switch it on for NPCs that should never say that.

If your game's world uses one of the built-in names (a character or a place with the same name), turn the guard off for that persona and list your own words in a game-side filter: the built-in list can't be shortened. When the guard fires, the log names the word it matched (non-Shipping builds).

Generate Text and Generate Struct have no persona. They use the project setting Guard Generate Text And Generate Struct (on by default) with its own extra words, and the built-in stack names only (details).

Failure codes, not library text

On Failed and Load NPC Model's On Done give you a Failure with:

  • Code: one of Not Loaded, Model Missing, Model Invalid, Cancelled, Timed Out, Backend Unavailable, Out Of Character, Internal, Invalid Reply;
  • Message: a fixed, neutral sentence you may show:
Code Message
Not Loaded The NPC is not ready yet.
Model Missing The NPC's data file was not found on this device.
Model Invalid The NPC's data file is damaged or incomplete.
Cancelled The conversation was stopped.
Timed Out The NPC took too long to answer.
Backend Unavailable This device can't run the NPC.
Out Of Character The NPC's reply was withheld.
Internal The NPC could not answer.
Invalid Reply The NPC's answer was not usable.
  • Detail: the developer text (the library's own error, a path, the guarded word). Log it, don't show it. It is empty in Shipping builds.

Get Active Backend returns GPU, CPU or Mock, never a library name.

What Shipping builds log

The plugin logs library, model and path names only in non-Shipping builds. Measured in Shipping packages:

Device, date Lines from the plugin naming the stack Lines from the library itself
Samsung Galaxy S26+, GPU and CPU, 2026-11-21 0 GPU: 1 per launch, from the library's GPU loader, saying it loaded the OpenCL library; CPU: 0
Android emulator, 2026-11-21 0 0
Windows laptop, 2026-11-21 no log file; stdout and stderr were empty none

The plugin sets the library's logging to Silent, and that one Android line is printed anyway; the library has no other log switch. Android's own system log also names the library file when it loads it, as it does for every native library an app loads.

The model file on the device

The file is stored as NpcAct/npc_model_1.bin on every platform, and the caches the first load writes are named after a neutral link, not the model (where). The plugin recognises the file by its size and first bytes, so the name can stay neutral.

What a player can still find out

  • Anyone who unpacks the game can identify the runtime. The library files keep their vendor's names in a packaged game: the files under Source/ThirdParty/ for that platform (one library on Windows, a framework on iOS, the library plus its accelerator libraries on Mac and Android). Renaming them is not supported.
  • A game that downloads the model from the catalog's public host reveals the host. The server's name is visible in the connection (TLS SNI) to anyone watching their own device's traffic. Host the file yourself (where to host it).
  • Your legal notices carry copyright lines. The licences require them, and some of them name the companies behind the runtime's parts (Licences).

The guard lowers how often a player sees the model's name in conversation. It doesn't hide which software the game uses from someone who looks for it.