Jump to content

Spam since update

Pending 1.3.9

pookins
pookins

Posted

Now getting spam since last update

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

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 NavMes

  • Administrator
Steenamaroo

Posted (edited)

Hi,
Is this since the last Rust update or since the latest BotReSpawn update?
Are you aware of any missing npcs, looking at bots.count?

If you're on proc gen, would you be willing to send me your size+seed, and contents of BotReSpawn /oxide/data folder?

Finally, do you have server log to file enabled? If so can you look in there to see if there's more detailed information?
I think usually there is for that particular message.

Edited by Steenamaroo
Rynki

Posted (edited)

Hi Steenamaroo,

I'm noticing the same. Definitely since the last Rust update. Even with the advanced logging I just get the same error as Pookins.

World Size: 3600

Server Seed: 10042025

data folder attached.

Pookins, do you notice any frame rate drops at Junkyard if you have bots there?

 

archive-2025-04-11T194749+0100.tar.gz.zip

Edited by Rynki
added clarity
  • Administrator
Steenamaroo

Posted

Thank you.
I'm firing up your map now to investigate. 👍

  • Administrator
Steenamaroo

Posted

Up and running with a 250 day time and 335 night time npc complement.
Not seeing any issues so far but I'll keep an eye on it.

If it's since the last Rust update rather than the last BotReSpawn update, there's every chance its vanilla npcs or animals.
Was there anything in particular made you think it's BotReSpawn?

I mean, it could be...just wondering. 👍

Rynki

Posted

it is generally okay for a while, like a good couple of hours then the console spam starts. It will be interesting if you get the same performance hit over at Junkyard, my FPS will drop to about a third of normal.

I do wonder if it is a scientist stuck in a junk pile.

We all know Facepunch fix one thing and break 2 more 😄

 

Rynki

Posted

and just a though, could it be some weird behaviour for missing monuments, for example, there is no Airfield on that map, so BotReSpawn should have disabled that as a possible spawn, but what if it thinks it is there?

 

  • Administrator
Steenamaroo

Posted

Nah, that's covered.
BotReSpawn only initialises profiles for monuments which exist on the current map.
The same goes for custom profiles where the Parent_Monument doesn't exist...They are skipped over.

Would you be able to send me a copy of your server log containing an episode where this happened?
I might be able to get some clues from it.

Rynki

Posted

I don't think it would give much away, it is just this each line. Even after 6 hours, the log file is 7MB.

Unless I haven't got the correct advanced logging enabled?

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

  • Administrator
Steenamaroo

Posted (edited)

I'm talking about the server log file that's enabled by adding RustDedicated.exe etc etc ...-logfile "somefile.txt" to your startup .bat file.
The events preceding the errors may give some clues, though, so the whole file would be ideal.

Edited by Steenamaroo
Rynki

Posted

yeah - that was from the file. There is nothing ahead of it.

I have tried a different entry to enable verbose logging, but that won't kick in till the server reboots

Rynki

Posted

I have sent a logfile via PM. Hope it helps

 

  • Administrator
Steenamaroo

Posted (edited)

Ooh, it's mega spamming.
Ok.
I know it's a bit of a pain but it'd probably be worth it.
When the spam is going steady like that could you just unload BotReSpawn?

It destroys all of its npcs so if the spamming stops immediately, it was a BotReSpawn npc.
If it doesn't, it was something else.

Edited by Steenamaroo
Rynki

Posted

Okay, stopped BotReSpawn and the spam stopped.

However, upon restarting the spam does not start immediately. The plugin has been running for about 10 minutes and no errors so far.

  • Administrator
Steenamaroo

Posted

Ok, seems like it's definitely a BotReSpawn issue then. Thank you.
There's a decent chance it's coming from one of the events, like airdrop or hackable crates or something.

I'll keep observing and see what I can find.

pookins

Posted (edited)

Here are most of the files you wanted, The spam stops when you unload BotReSpawn and there is a variable delay before the spam starts again once the plugin is reloaded, I have unloaded other bot plugins to no effect (Dangerous treasures etc)

[BotReSpawn] Abandoned Cabins 0 - 15/15
[BotReSpawn] Abandoned Supermarket 0 - 5/5
[BotReSpawn] Abandoned Supermarket 1 - 5/5
[BotReSpawn] Abandoned Supermarket 2 - 5/5
[BotReSpawn] Airfield 0 - 25/25
[BotReSpawn] Arctic Research Base 0 - 15/15
[BotReSpawn] Ferry Terminal 0 - 10/10
[BotReSpawn] Fishing Village_B 0 - 0/0
[BotReSpawn] Fishing Village_C 0 - 0/0
[BotReSpawn] Giant Excavator Pit 0 - 15/15
[BotReSpawn] Harbor_Small 0 - 15/15
[BotReSpawn] Harbor_Large 0 - 15/15
[BotReSpawn] HQM Quarry 0 - 5/5
[BotReSpawn] Ice Lake_4 0 - 6/6
[BotReSpawn] Ice Lake_4 1 - 5/5
[BotReSpawn] Junkyard 0 - 25/25
[BotReSpawn] Large Barn 0 - 0/0
[BotReSpawn] Large Fishing Village 0 - 0/0
[BotReSpawn] Launch Site 0 - 25/25
[BotReSpawn] Lighthouse 0 - 5/5
[BotReSpawn] Lighthouse 1 - 5/5
[BotReSpawn] Military Tunnel 0 - 25/25
[BotReSpawn] Mining Outpost 0 - 5/5
[BotReSpawn] Mining Outpost 1 - 5/5
[BotReSpawn] Missile Silo 0 - 15/15
[BotReSpawn] Oasis A 0 - 6/6
[BotReSpawn] Oasis C 0 - 7/7
[BotReSpawn] Oxum's Gas Station 0 - 5/5
[BotReSpawn] Oxum's Gas Station 1 - 5/5
[BotReSpawn] Oxum's Gas Station 2 - 5/5
[BotReSpawn] Power Plant 0 - 20/20
[BotReSpawn] Radtown 0 - 6/6
[BotReSpawn] Ranch 0 - 0/0
[BotReSpawn] Satellite Dish 0 - 10/10
[BotReSpawn] Sewer Branch 0 - 15/15
[BotReSpawn] Stone Quarry 0 - 5/5
[BotReSpawn] Substation_Large_2 0 - 5/5
[BotReSpawn] Substation_Large_2 1 - 5/5
[BotReSpawn] Substation_Large_1 0 - 5/5
[BotReSpawn] Substation_Large_1 1 - 5/5
[BotReSpawn] Substation_Large_1 2 - 5/5
[BotReSpawn] Substation_Large_2 2 - 5/5
[BotReSpawn] Substation_Large_1 3 - 5/5
[BotReSpawn] Substation_Large_2 3 - 5/5
[BotReSpawn] Substation_Large_2 4 - 5/5
[BotReSpawn] Substation_Large_2 5 - 5/5
[BotReSpawn] Substation_Large_1 4 - 5/5
[BotReSpawn] Substation_Large_1 5 - 5/5
[BotReSpawn] Substation_Large_2 6 - 5/5
[BotReSpawn] Substation_Large_2 7 - 5/5
[BotReSpawn] Substation_Large_1 6 - 5/5
[BotReSpawn] Substation_Large_2 8 - 5/5
[BotReSpawn] Substation_Large_2 9 - 5/5
[BotReSpawn] Sulfur Quarry 0 - 5/5
[BotReSpawn] The Dome 0 - 10/10
[BotReSpawn] Train Tunnel 0 - 0/0
[BotReSpawn] Train Tunnel 1 - 0/0
[BotReSpawn] Train Yard 0 - 20/20
[BotReSpawn] Wild Swamp_A 0 - 10/10
[BotReSpawn] Wild Swamp_B 0 - 10/10
[BotReSpawn] BiomeArid - 20/20
[BotReSpawn] BiomeTemperate - 20/20
[BotReSpawn] BiomeTundra - 20/20
[BotReSpawn] BiomeArctic - 19/20

procedural map worldsize 4500 1272579615

default-DefaultProfiles.json

Edited by pookins
clarification
Rynki

Posted

Following on from what Pookins said above.

I have a daily backup and restart that happens at 1am.

From the logs, when the server came back up, the navmesh spam was immediate.

Prior to this, I thought it was my night time mobs causing the issue, but now I'm not so sure.

It has to be one of the profiles, but figuring out which one is tricky!

Rynki

Posted

If a monument is not available for bots to spawn at, should the profile be white (false) or green (true)?

I have a bot set to spawn at Sewer Branch. There is no Sewer Branch on the map

BotReSpawn knows it is missing.

[BotReSpawn] Parent monument Sewer Branch 0 does not exist for custom profile TwitchDrop

But is still shows as green in Custom Profiles?

  • Administrator
Steenamaroo

Posted (edited)

BotReSpawn remembers all your monument settings even if the monument doesn't exist,
so that you don't have to set it all up again next time you run a map with that monument on it.,

It'll show those missing monuments in your bots.count output, but it'll just say 0/0 spawned

like pookins output,
[BotReSpawn] Ranch 0 - 0/0
[BotReSpawn] Train Tunnel 0 - 0/0

 

I should probably have some way of indicating 'not present' in the UI. 👍

Either way, it's extremely unlikely to be related to that because BotReSpawn goes through all the monuments which exist on the map
and then runs spawners for those.

 

@pookins- Your data looks super helpful.
No custom monuments or event profiles enabled narrows things down.

I'm going to put together a debug plugin (or BotReSpawn mod) that logs to file the profile and precise location and timestamp for every NPC that gets spawned,
and also logs timestamps for when the error is thrown.

Would either of you be willing to run that so I can capture some data?

Thanks folks.

Edited by Steenamaroo
  • Like 1
Rynki

Posted

Yeah, I knew how it worked, sometimes just explaining things back and forth helps with troubleshooting 🙂

I’m happy to test a debug version if you send it my way 👍🏻

RustyW

Posted

I have had this spam in log file for about a year now. It won't project in the console, it will only be in the -logfile. I more suspect it's map-related, where AI is trying to spawn in a ridiculous spot. There was a commit claiming to fix this issue, but I'm still seeing it: https://commits.facepunch.com/517517

pookins

Posted

I have used the same map for the last three wipes and not had any problems with this spam. Usually if the plugin tries to populate a monument where there is insufficient spawn space for the amount of bots you want there you will get a specific error message saying that situation exists, Not an endless spamming message.

  • Administrator
Steenamaroo

Posted

From what I can see so far this isn't even coming from some issue spawning npcs on navmesh, as you'd think (as I thought)
It's coming from npcs that are perfectly fine, wandering around, then encounter an obstacle.

I'm looking into it.

  • Like 2
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.