NPC AI Process Position Fix NG: What It Does in Skyrim

By Arron R.11 min read
NPC AI Process Position Fix NG is an SKSE plugin for Skyrim that targets NPCs whose position goes wrong while the engine runs them at low AI detail, leaving the

NPC AI Process Position Fix NG is a small SKSE plugin for Skyrim that targets one of the most annoying bugs in the game: NPCs (non-player characters) whose position goes wrong while the engine is running their AI at reduced detail. The symptoms are familiar to anyone with a long save. A shopkeeper never opens the shop, a follower stands frozen at a door, a quest giver turns up in the wrong town or not at all. This guide explains what the plugin targets, how Skyrim’s AI process levels cause the problem, how to install and test the fix, and, if you build your own games, how to design NPC AI that never loses track of where it is.

What Is NPC AI Process Position Fix NG?

Start with the name, because every word in it tells you something.

  • NPC AI: the logic that drives every character the player does not control. The glossary of video game terms defines a non-player character as any character not controlled by a player, and in Skyrim that covers everyone from guards to dragons.
  • Process: Skyrim’s engine does not run every NPC at full detail all the time. It assigns each actor an AI process level, and the level decides how often and how carefully that NPC gets updated.
  • Position fix: the plugin targets cases where an NPC’s stored position and the position its AI should have drifted apart, usually as the NPC changes process level.
  • NG: the plugin is built with CommonLibSSE-NG, a code library that lets one SKSE plugin support several Skyrim releases from a single file, typically Special Edition and Anniversary Edition and often VR. The mod page lists the versions the author supports.

It is an engine-level patch, not a content mod. It adds no new dialogue, packages or behaviours. It changes how the game handles the movement data of NPCs it is already simulating. That makes it a different kind of mod from AI overhauls that rewrite what NPCs do in their free time or how often they greet you. Those overhauls change behaviour; the position fix makes sure the behaviour lands the NPC in the right place.

Because it works at the engine level, the exact cases it patches are described on its mod page and change with updates. Read that description and the comments before installing, especially if you run an unusual setup such as a downgraded game version.

How Skyrim Processes NPC AI

To understand why NPCs get stuck, you need a rough picture of how the Creation Engine manages them. Simulating hundreds of NPCs at full detail would cost too much CPU, so the engine sorts actors into process levels, usually described by modders as high, middle-high, middle-low and low.

  • High process: NPCs near you in loaded cells. They pathfind (calculate a walkable route) properly, animate, react to you and run their AI packages in full.
  • Middle levels: NPCs that are loaded but farther away, or recently left your area. They update less often and with less precision.
  • Low process: NPCs in unloaded cells. They have no physical body in the world. The engine just tracks where they should be based on their schedule and moves them in large, cheap jumps.

An AI package is Skyrim’s term for a scheduled behaviour: “sleep in this bed from 22:00 to 6:00”, “work at this forge during the day”, “walk to the inn in the evening”. When you leave a town, its residents drop to low process and keep following their packages in a simplified form. When you come back, they move up to high process and the engine has to place their bodies somewhere sensible.

That handover is where things break. If the low-process position was never updated correctly, or was updated to a spot that is invalid when the cell loads, the NPC can appear frozen, stuck in a doorway, standing in the wrong cell or missing entirely. This is the class of bug the position fix is aimed at.

Concentric diagram of NPC AI process levels from high near the player to low far away
The closer an NPC is to you, the more detailed its AI processing. Position bugs tend to show up when NPCs move between these levels.

Symptoms: NPCs Stuck in Place, Missing or in the Wrong Spot

Stuck NPCs have been a Skyrim complaint since the original 2011 release, and not every case is a process-level position bug. Use this table to narrow down what you are looking at before you install anything.

SymptomLikely causeFirst thing to try
NPC frozen in place, does not reactStuck AI package or bad process handoverresetai then evp
NPC never arrives where its schedule saysLow-process movement not updating positionWait 24 game hours in another cell, then return
NPC in the wrong town or cellPosition lost during a process change, or a mod moved itmoveto player, then let its package walk it home
NPC stuck walking into a wall or doorNavmesh problem (the walkable surface data) from a modCheck which mods edit that cell
Only NPCs edited by one mod misbehaveConflicting AI package editsLook at the conflict in a record editor

If the problem follows an NPC from cell to cell, or appears after long periods away from an area, a process position bug is a good suspect. If it only happens in one location, suspect that location’s navmesh or a mod that edits it.

How to Install and Test the Fix

Installing an SKSE plugin is the same routine for most engine fixes. The order matters more than the steps.

  1. Check your game version. Open the mod page and confirm the plugin supports your exact Skyrim release. NG builds usually cover several, but not every one.
  2. Install the requirements first. SKSE plugins need SKSE itself, and most CommonLibSSE-NG plugins also need Address Library for SKSE Plugins. Use whatever the mod’s requirements list says.
  3. Install with your mod manager. The plugin is a DLL that goes in Data/SKSE/Plugins. Let your mod manager place it rather than copying files by hand.
  4. Launch through SKSE. Start the game with the SKSE loader, not the normal launcher, or the plugin will not load.
  5. Confirm it loaded. SKSE writes log files; a plugin that failed to load usually shows up there.

Testing with console commands

Pick an NPC that you know misbehaves, then test it before and after installing. Open the console with the tilde key and select the NPC by clicking it, or type prid followed by its reference ID if you cannot see it.

  • resetai: resets the NPC’s AI state. Often enough on its own.
  • evp: makes the NPC re-evaluate its AI packages, so it picks up the right schedule entry for the current time.
  • disable then enable: removes and re-adds the NPC to the world, which forces it to be placed again.
  • moveto player: pulls the NPC to you. Useful when it is lost in a cell you cannot reach.

One warning: avoid recycleactor on important NPCs unless you have a backup save. It resets the actor more aggressively and can affect things like inventory. Killing and resurrecting an NPC, a common forum suggestion, also resets state you may want to keep.

Four-step console workflow for unsticking a frozen Skyrim NPC
Test the problem NPC with console commands before and after installing the fix, so you know what actually changed.

Common Mistakes When Fixing Stuck NPCs

Most failed fixes come from the same handful of habits.

  • Expecting the fix to repair an already broken save instantly. NPCs that are already in a bad state may need one console reset after the plugin is installed. The fix prevents new drift; it does not rewrite history.
  • Blaming the engine for a navmesh problem. If an NPC always gets stuck at the same door, a mod that edits that cell is the likelier culprit. No process fix can walk an NPC through a wall that the navmesh says is solid.
  • Ignoring package conflicts. Two mods editing the same NPC’s AI packages means only one wins. The NPC then follows a schedule that points somewhere neither mod intended. Patch the conflict in a record editor.
  • Installing the wrong version. A plugin built for a different game version either fails to load or loads and does nothing. Read the requirements, then check the SKSE log.
  • Stacking several fixes for the same bug. Multiple engine plugins patching the same function can fight each other. Pick one per problem.
  • Testing too soon. Process handovers happen when you leave and return. Spend at least a day of game time away from the area before deciding the fix did nothing.

Building NPC AI That Never Loses Its Position

If you came here because you make games rather than mod them, Skyrim’s bug is a useful lesson. Every game with a living world faces the same trade-off: you cannot afford full NPC AI for every character every frame, so you simulate distant ones cheaply. The technique is called AI level of detail (LOD), the same idea as lowering model detail with distance. The bug appears when the cheap simulation forgets to keep position accurate.

The fix in your own code is simple: never throw away elapsed time. When a distant NPC skips frames, store the time it skipped and apply it all at once on its next update. Here is a complete, engine-agnostic JavaScript example with three detail levels:

// AI level of detail: full updates near the player, cheaper updates far away,
// and an accumulator so skipped time is never lost.
const NEAR = 400;  // pixels: update every frame
const MID = 1200;  // pixels: update 4 times per second
// beyond MID: update every 2 seconds

class Npc {
  constructor(name, x, y, schedule) {
    this.name = name;
    this.x = x;
    this.y = y;
    this.speed = 60;           // pixels per second
    this.schedule = schedule;  // sorted by hour: [{ hour, x, y }]
    this.pending = 0;          // seconds not yet simulated
  }

  target(hour) {
    let t = this.schedule[this.schedule.length - 1]; // wraps past midnight
    for (const s of this.schedule) if (hour >= s.hour) t = s;
    return t;
  }

  step(dt, hour) {
    const t = this.target(hour);
    const dx = t.x - this.x;
    const dy = t.y - this.y;
    const dist = Math.hypot(dx, dy);
    const move = this.speed * dt;
    if (dist <= move) { this.x = t.x; this.y = t.y; return; }
    this.x += (dx / dist) * move;
    this.y += (dy / dist) * move;
  }

  update(dt, hour, player) {
    this.pending += dt;
    const d = Math.hypot(player.x - this.x, player.y - this.y);
    const interval = d < NEAR ? 0 : d < MID ? 0.25 : 2;
    if (this.pending >= interval) {
      this.step(this.pending, hour); // apply all skipped time at once
      this.pending = 0;
    }
  }
}

const player = { x: 0, y: 0 };
const npcs = [
  new Npc("Blacksmith", 100, 100, [
    { hour: 0, x: 100, y: 100 },   // home
    { hour: 8, x: 900, y: 300 },   // forge
    { hour: 20, x: 100, y: 100 }   // home again
  ])
];

let last = performance.now();
let gameHour = 6;

function tick(now) {
  const dt = (now - last) / 1000;
  last = now;
  gameHour = (gameHour + dt / 60) % 24; // one game hour per real minute
  for (const n of npcs) n.update(dt, gameHour, player);
  requestAnimationFrame(tick);
}
requestAnimationFrame(tick);

Two trade-offs to know. First, a big catch-up step moves the NPC in a straight line, which can cut through walls. That is fine while the NPC is out of sight, but when it moves to the near level, snap it onto your navigation grid or path from its current spot. Second, very long absences (say, the player sleeps for a week) should jump the NPC straight to its scheduled location instead of simulating the walk. Both rules exist to avoid exactly the stuck and misplaced NPCs that Skyrim players patch with SKSE plugins.

Building Your Own NPC AI With WizardGenie

Writing an AI LOD system, a schedule system and pathfinding by hand is a lot of plumbing before you see a single villager walk to work. WizardGenie, the AI game engine at the heart of Sorceress, lets you describe the game you want; it writes the code, runs it and iterates on it with you. This is vibe coding applied to game systems: you describe behaviour in plain language and judge the result by playing it.

A good first prompt for the scenario above:

“Make a top-down 2D town with a player and five NPCs. Each NPC has a daily schedule: home at night, a workplace during the day, the tavern in the evening. Use AI level of detail: NPCs near the player update every frame, distant ones update less often but keep track of skipped time so they always end up in the right place. Add a debug view that shows each NPC’s target and update rate.”

Then iterate the way you would with a junior programmer: “the blacksmith cuts through the wall when I walk back into town, snap him to the path first”, or “if the player sleeps more than six hours, teleport NPCs to their scheduled spot”. Because WizardGenie runs the game as it goes, you see each fix immediately instead of reading a diff and guessing.

A few practical notes:

  • WizardGenie runs on the web with nothing to install, and as a Windows desktop app with an auto-updater. The desktop app gives native file access and longer agent sessions, which helps when a schedule system grows across many files.
  • It works with the leading AI coding models, and you can switch models with your own API key.
  • Read what it writes. AI-assisted development is fast, but accepting generated code without review is how bugs like a lost NPC position sneak in. Keep the debug view on until the system behaves.

Your NPCs also need to look like characters, not coloured squares. Auto-Sprite v2 (Pro) creates game-ready 2D sprites for any character, animation or art style, so each villager can get a proper walk cycle. For a 3D game, 3D Studio turns a typed idea into a rigged, animated, game-ready 3D character. If you want WizardGenie or another coding agent to generate assets directly, the Sorceress API gives it one key for sprites, 3D models, rigs, animation, music and SFX. For the rest of the suite, see the Sorceress tools guide, and for a related deep dive on modded open-world NPCs, read how GTA 5 NPC AI mods work.

The Verdict

For Skyrim players, the path is short:

  1. Confirm the symptom matches a process position bug: NPCs frozen, skipping schedules or misplaced after you leave and return.
  2. Install NPC AI Process Position Fix NG with its listed requirements, launch through SKSE and check the log.
  3. Reset any NPC already stuck with resetai and evp, then give the world a game day to settle.
  4. If one location keeps misbehaving, look at navmesh edits and AI package conflicts instead.

For game makers, the lesson is the one the plugin exists to teach: cheap AI for distant NPCs is fine, losing their time and position is not. Keep an accumulator, snap to valid paths on the handover, and jump NPCs to their schedule after long absences. If you would rather describe that system than hand-write it, open WizardGenie, give it the town prompt above and start playtesting your own living world. For more on designing the characters themselves, see how to make a character for a video game.

Frequently Asked Questions

What does NPC AI Process Position Fix NG do?

It is an SKSE plugin for Skyrim that targets a class of bugs where an NPC’s position goes wrong while the engine is running that NPC at a reduced AI process level. The visible result is an NPC frozen in place, stuck at a door, skipping its schedule or turning up somewhere it should not be. Read the mod’s own description for the exact cases it patches and the game versions it supports.

What does NG mean in Skyrim mod names?

NG usually means the plugin was built with CommonLibSSE-NG, a shared code library for SKSE plugins. The point of NG builds is that one plugin file can support several Skyrim releases, typically Special Edition and Anniversary Edition and often VR, instead of needing a separate download for each. Always confirm on the mod page which versions the author actually lists.

How do I fix NPCs stuck in place in Skyrim?

Open the console, click the NPC or use prid with its reference ID, then try resetai followed by evp to make it re-evaluate its AI packages. If that fails, try disable then enable, or moveto player to pull it out of a bad spot. If the problem keeps returning, look at mods that edit that NPC’s AI packages, and install a position fix plugin.

Is NPC AI Process Position Fix NG compatible with AI overhaul mods?

Generally an SKSE plugin that patches engine behaviour does not conflict with plugin-based overhauls that edit NPC records and AI packages, because they change different things. That said, compatibility is the mod author’s call. Check the mod page and its comments for reports with your load order, and test a few known problem NPCs after installing.

Can I build my own game where NPCs keep their schedules off-screen?

Yes. Use AI level of detail: full updates for NPCs near the player, cheaper updates for distant ones, and store the elapsed time so a distant NPC catches up correctly when it updates. WizardGenie can write and run this kind of system from a plain description, and you can iterate on it by describing what goes wrong.

Sources

  1. Glossary of video game terms — Wikipedia
  2. Vibe coding — Wikipedia
  3. AI-assisted software development — Wikipedia
Written by Arron R.·2,529 words·11 min read

Related posts