net_graph entities

Penguin

Clinically Diagnosed with Small Mapper's Syndrome
aa
May 21, 2009
2,039
1,484
Hey all:

I'm working on a little reskin of arena_nucleus for the season. However, after hurriedly rushing off a build to my community server, we found that it experienced pretty sizable lag. We figured there was no way it could be the map's fault (basically no logic changed, added a few props) so I joked that the map was haunted.

Turns out I was wrong. With net_graph 3, I can see a TREMENDOUS amount of "in" from "entities". II have no damn clue what could be causing this. It's just a recompile of the decompile of nucleus, so all the optimization brushes/areaportals are in place from the official release.

Any advice on how to debug this?

upload_2020-10-5_9-10-26.png


And here's the same spot in stock arena_nucleus

upload_2020-10-5_9-15-53.png
 

Penguin

Clinically Diagnosed with Small Mapper's Syndrome
aa
May 21, 2009
2,039
1,484
UPDATE: I have determined the culprits to be these guys, dancing in the spawn (I did a build that removed only them and no the graph returned to normal). That said, this is only eight total models across both spawns, so I don't understand why it's wrecking network traffic so bad. Furthermore, they're set to stop drawing pretty much as soon as you exit the spawn, but still the issue persists.

upload_2020-10-5_9-27-0.png
 

ficool2

L4: Comfortable Member
Oct 28, 2017
161
232
UPDATE: I have determined the culprits to be these guys, dancing in the spawn (I did a build that removed only them and no the graph returned to normal). That said, this is only eight total models across both spawns, so I don't understand why it's wrecking network traffic so bad. Furthermore, they're set to stop drawing pretty much as soon as you exit the spawn, but still the issue persists.

upload_2020-10-5_9-27-0.png

You have bone followers enabled on the prop_dynamics, which in short terms is just collision created for every ragdoll piece of the model, and each of these is a seperate entity. For 8 skeletons, this can result in over 240 entities and since its updated per tick, it eats up massive traffic

Tick the disable bone followers keyvalue on the prop_dynamics
 

Penguin

Clinically Diagnosed with Small Mapper's Syndrome
aa
May 21, 2009
2,039
1,484
My hero.