Jump to content

Failed to create agent because it is not close enough to the NavMesh

Work in Progress 0.2.9

ToliburtiX
ToliburtiX

Posted

Hello,

while most of the time the NPCs are happy respawning, from time to time the logfile is flooded with "Failed to create agent because it is not close enough to the NavMesh" messages. It's clearly caused by RoamingNPCs, because unloading the plugin stops the message. But a simple reload of the plugin does not solve the problem. I have to unload it, delete the file "data/RoamingNPCs/Bots.json" and load it again. Then everything runs fine until the next "flood".

Best regards,
Toli

 

walkinrey

Posted

Hi, are you on custom map? can i see your config?

ToliburtiX

Posted

27 minutes ago, walkinrey said:

Hi, are you on custom map? can i see your config?

Hello,

the map is procedural, seed was 4548765, size 3000. Config is attached.

RoamingNPCs.json

walkinrey

Posted

Changed Status from Pending to Work in Progress

walkinrey

Posted

Do you have any messages in the console before/after "Failed to create agent because it is not close enough to the NavMesh" ?

walkinrey

Posted

that may be related to rnpc's

ToliburtiX

Posted

On 1/10/2026 at 3:35 PM, walkinrey said:

Do you have any messages in the console before/after "Failed to create agent because it is not close enough to the NavMesh" ?

No, there were no such related messages. Well, I spend the last days removing all my plugins from "carbon/plugins", restarting the server and putting them back one by one while watching the logfile for a while. RoamingNPCs was the first I put back and running all the time.

Well, what should I say. The flooding message did not come back. I will now wait and see if it stays away or comes back after a longer runtime of the server. I think nothing must be done in the moment.

 

2.1m

Downloads

Total number of downloads.

10k

Customers

Total customers served.

145.8k

Files Sold

Total number of files sold.

3.1m

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.