NavMeshFix
Fixes broken NavMesh pathfinding and map route (Tab) on modded levels. Repairs LevelPoints, ExtractionPoints, connections, and rooms automatically.
About this mod Author’s original text
NavMeshFix
Automatically fixes broken NavMesh pathfinding and map route (Tab key) on modded levels in R.E.P.O.
What it fixes
Some modded levels have LevelPoints or ExtractionPoints placed off the NavMesh, causing:
- Enemies unable to navigate or stuck in place
- Map route dots (Tab) not appearing
- Broken pathfinding between rooms
NavMeshFix automatically detects and repairs these issues after each level generates.
Repairs
- LevelPoint positions — Moves points that are off the NavMesh to the nearest valid position
- ExtractionPoint positions — Same repair for extraction points (fixes map route)
- Module connections — Reconnects LevelPoints that the game's ModuleConnectSetup missed (facing each other, within range)
- One-way connections — Fixes connections that only go A->B but not B->A
- Room assignments — Assigns RoomVolume to points missing it
- Map diagnostics — Logs path status every 5s when the map is open (helps debug remaining issues)
How it works
- Patches LevelGenerator.NavMeshSetupRPC (postfix) — repairs positions when NavMesh is ready
- Patches LevelGenerator.GenerateDone (postfix) — repairs connections 1s after generation completes
- Runs on ALL clients, not just host (NavMesh is built locally on each client)
Configuration
- Enabled (true) — Enable/disable automatic NavMesh repair
- RepairRadius (5.0) — Max distance to search for a valid NavMesh position
Installation
Install via r2modman or Mod Manager. No dependencies besides BepInEx.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Dependencies
Install these first, or the mod will not work:
BepInEx-BepInExPack