Hey,
I was getting reports about players getting lag spikes when they die in our game, it appears that a large amount of this frame time is taken up by “Replicator ProcessPackets”, with a lot of smaller labels under it also taking up a lot of time (ToggleMic being the most extreme example, and some others being “BackpackScript”)
As you can see here:
Does anyone have any ideas of where I could even start debugging this?
“ToggleMic” makes me believe there’s some issue related to voice chat that is eating up frame time but I genuinely am at a loss here. Looking up “ToggleMic” doesn’t give me any meaningful results either.
As you can see as well, when a player dies, there are sudden spikes in frame time as well:
These will be even longer for users with low-end computers.
Does anyone have any insight as to what this could be?
Alternatively, the game is here if anyone wants to try out and see what results they can yield:
I know this is very broad issue but I have no idea where to even begin, however I can share any information if need be.
Thanks.