Troubleshooting

Log Failure → Detail whenever On Failed or Load NPC Model's On Done reports a failure. In non-Shipping builds it carries the developer text, and the plugin's own lines are in the Output Log under LogNpcAct.

Load NPC Model fails

Failure Likely cause What to do
Model Missing on GPU or CPU, in the editor Model Path is empty, or the model isn't downloaded Connect Get Model Path to Model Path. Only Mock reads an empty path. Download the model in Project Settings → Plugins → NpcAct.
Model Missing with a path you passed the file isn't there yet, or the path is relative: UE resolves a relative path from its own working folder, which in the editor is inside the engine install Pass an absolute path; Get Model Path gives one. Detail shows the path the plugin looked at.
Model Invalid the file is the wrong size or doesn't start with the model's first bytes (a cut-off download) Download it again. Is Model Present says the same before you load.
Model Missing on Mock, in a Shipping package Shipping packages carry no Mock replies (measured on Windows, 2026-11-21) Run Mock in a Development package or in the editor.
Backend Unavailable on a Mac the game runs as x86_64 (an Intel Mac, or Rosetta) Build for Apple Silicon (Platforms).

The GPU isn't used

Load NPC Model falls back to the CPU backend when the GPU can't load, and Active Backend says CPU. Measured causes:

  • Windows package without the DirectX shader compiler. The library couldn't open dxcompiler.dll. The plugin copies the engine's copy into non-editor Windows builds; if your build pipeline removes extra DLLs, keep dxcompiler.dll and dxil.dll next to the game.
  • Android device without OpenCL. The load succeeds; the first turn fails on the GPU and runs again on the CPU, with Fell Back To Cpu set in its Stats (Platforms).

The GPU stops when run from Xcode

Metal API Validation is on in your Xcode scheme. Turn it off (Project settings).

An iOS build crashes about 18 seconds after launch on a Mac

Seen when running the iOS build as Designed for iPad: the engine's OnlineSubsystemIOS plugin crashes there. Turn it off for Mac-hosted testing (Project settings).

The iOS build fails to sign

"requires a development team": set the team in [/Script/MacTargetPlatform.XcodeProjectSettings] (Project settings).

The first load is slow and can stall a busy machine

The first load on each backend compiles caches for this device. In the editor on the developer's Mac, a first GPU load took 1.64–3.24 s on a quiet machine, with no editor frame over 33 ms (2026-11-21). On the same Mac after a busy stretch (a 15-minute load average of 7.67), it took 6.02 s, and 20 editor frames took longer than 33 ms in that run, 11 of them during the load, the worst 523.82 ms (2026-11-22). Later loads read the caches: 0.35 s (2026-11-20).

  • Load at a loading screen, and run Warm Up NPC Model once after the file arrives (warm-up).
  • On iOS and Android the system may delete the caches to free space; the next load is a first load again.

Not enough free space

The first load writes about 1.6 GB of caches next to the model (about 2.6 GB): 1,662,441,160 bytes for GPU and CPU together on the developer's Mac, 1,577,592,536 bytes on the Android emulator, and 846,477,128 bytes on a Galaxy S26+, whose GPU part is only 15,261,800 bytes (free space). A device that only ever loads the GPU writes only the GPU part. Check the space before you download, and leave room for both if the game may fall back to the CPU.

The editor's Download checks for the bytes still to fetch plus 1,577,592,536 bytes of caches. That is the emulator's total, which is 84,848,624 bytes less than the Mac's, so on a Mac leave a little more than the settings page asks for.

A reply is a few tokens longer than Max Reply Tokens

With Speculative Decoding on or Adaptive, a reply can run 2–3 tokens past Max Reply Tokens (19 → 21–22 on the Mac GPU, 2026-11-22), because one step can accept several drafted tokens. Set Speculative Decoding to Off if you need an exact cap (Performance).

Mock answers "Hm. Come back later, traveller."

That is Mock's reply to a line it has no recording for. Mock knows only the recorded lines of the example NPCs, matched by the exact player line.

The NPC talks about doing something but nothing happens

The model said the action without calling the tool. See Write tools the model will call and the rescue.

A crash in the memory allocator on iOS

None has been seen: on the iOS build (on a Mac), the library's memory ran on the engine's allocator and 30 turns ran clean (2026-11-21). If one appears after a library update, the documented engine switch is the plain C allocator for your game target. It hasn't been needed or tested with this plugin:

// YourGame.Target.cs
StaticAllocator = StaticAllocatorType.Ansi;
bOverrideBuildEnvironment = true;  // needed with an installed engine, because the allocator changes the build environment

Nothing printed and no failure

  • Turns queue: a second Run NPC Turn waits for the first, it doesn't fail.
  • A turn after Drop NPC Model or a background drop fails with Not Loaded; load the model again.