Jump to content

Server Crashing - Npcs & Nav Mesh issue

Pending 1.26

Nomad3211
Nomad3211

Posted

Hi there! 
I have recently experienced a couple of  crashes on my server. 
I went through the logs and no matter what I do, I see this Error spamming my console:
"Failed to create agent because it is not close enough to the NavMesh"

I have narrowed out all possible causes (that im aware of):
- oxide mods all up to date (no harmony mods installed)
- Rust, steam, graphics card all up to date
-  Ensured that custom npc spawn locations were from this map only (you provide in download)


The nav mesh error occurs after RustEdit finishes loading the npc spawn handlers. 
*Dangerous treasures loads but hasnt started, so no npcs were spawning*
- There isnt a single entry for "nav mesh" anywhere in the log prior to the snippet I sent. 

Heres my log for reference:

[RustEdit] - Successfully connected 322 IO links
[RustEdit] - No custom vending machines found in map
[RustEdit] - 293 loot containers processed!
[RustEdit] - Created 2 keycard desk respawners
[RustEdit] - 341 resource entities processed!
[RustEdit] - 0 junkpiles processed!
[RustEdit] - Created 48 NPC spawn handlers!
[RustEdit] - Connected 18 shopkeepers to vending machines
[Dangerous Treasures] O4: Metal Blade (16), Metal Spring (33), HV 5.56 Rifle Ammo (235), High Quality Metal (1288), High Velocity Rocket (4), Metal Pipe (25), 5.56 Rifle Ammo (236), Targeting Computer (16), CCTV Camera (21), Incendiary 5.56 Rifle Ammo (190), Gears (17), Empty Propane Tank (26)
[Dangerous Treasures] Next automated event in 00h 42m 51s at 03/25/2025 06:53:57
[Image Library] Starting order Kits
Failed to create agent because it is not close enough to the NavMesh
[Admin Radar] Cached 9372/189281 entities in 68.921434 seconds!
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
[RaidableBases] 25% loaded (920 potential points)
Kits storage process at 85% (28/33)
Image batch (Kits) has been stored successfully
Invalid Position: generic_world[226768356] nightvisiongoggles (world) (0.49, -508.23, -8.90) (destroying)
Shutting down compiler because idle shutdown
Compiler shutdown completed
[Image Library] Starting order Shop
[RaidableBases] 50% loaded (2530 potential points)
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh






Thanks in advance! 

flouONEs

Posted

6 hours ago, Nomad3211 said:

Hi there! 
I have recently experienced a couple of  crashes on my server. 
I went through the logs and no matter what I do, I see this Error spamming my console:
"Failed to create agent because it is not close enough to the NavMesh"

I have narrowed out all possible causes (that im aware of):
- oxide mods all up to date (no harmony mods installed)
- Rust, steam, graphics card all up to date
-  Ensured that custom npc spawn locations were from this map only (you provide in download)


The nav mesh error occurs after RustEdit finishes loading the npc spawn handlers. 
*Dangerous treasures loads but hasnt started, so no npcs were spawning*
- There isnt a single entry for "nav mesh" anywhere in the log prior to the snippet I sent. 

Heres my log for reference:

[RustEdit] - Successfully connected 322 IO links
[RustEdit] - No custom vending machines found in map
[RustEdit] - 293 loot containers processed!
[RustEdit] - Created 2 keycard desk respawners
[RustEdit] - 341 resource entities processed!
[RustEdit] - 0 junkpiles processed!
[RustEdit] - Created 48 NPC spawn handlers!
[RustEdit] - Connected 18 shopkeepers to vending machines
[Dangerous Treasures] O4: Metal Blade (16), Metal Spring (33), HV 5.56 Rifle Ammo (235), High Quality Metal (1288), High Velocity Rocket (4), Metal Pipe (25), 5.56 Rifle Ammo (236), Targeting Computer (16), CCTV Camera (21), Incendiary 5.56 Rifle Ammo (190), Gears (17), Empty Propane Tank (26)
[Dangerous Treasures] Next automated event in 00h 42m 51s at 03/25/2025 06:53:57
[Image Library] Starting order Kits
Failed to create agent because it is not close enough to the NavMesh
[Admin Radar] Cached 9372/189281 entities in 68.921434 seconds!
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
[RaidableBases] 25% loaded (920 potential points)
Kits storage process at 85% (28/33)
Image batch (Kits) has been stored successfully
Invalid Position: generic_world[226768356] nightvisiongoggles (world) (0.49, -508.23, -8.90) (destroying)
Shutting down compiler because idle shutdown
Compiler shutdown completed
[Image Library] Starting order Shop
[RaidableBases] 50% loaded (2530 potential points)
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh
Failed to create agent because it is not close enough to the NavMesh






Thanks in advance! 

Hi, this map is over 2 years old, there is nothing related to NPCs there, the list of NPCs that comes with the map is only for the plugin. By default, there are no NPCs except the standard ones, at the moment this map is on my server with 300+ online players, and there are no problems there. I don't have any NPCs anywhere else, unless they're standard FP monuments that I can't control.

  • Like 1
flouONEs

Posted

Maybe you have 16 GB of RAM on your server? If so, then this is not enough for custom cards, you need 17-19 GB.

Nomad3211

Posted

I have a dedicated host with 64 gigs of ram. 

 

Nomad3211

Posted

Back to the logs then!  
Thank you for that input! 

 

flouONEs

Posted

There are really no problems, there are no NPCs on the map at all except for the standard ones, and the navmesh grid is generated by the server, not the map. I think it's worth checking the plugins, or reinstalling the server client itself, strange bugs have been happening with the game lately. However, everything is fine on the server with this map.

  • Love 1
Nomad3211

Posted

I believe you! 
I just saw the npc spawn handlers, and then the nav mesh errors started showing up. 
I had only assumed it was related, that doesnt necessarily mean it is!

I do have a number of mods and events, so it is likely that one of those is the culprit. 

1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.1k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.