Recently our game Blox Royale had a major overhaul to the unit movement system, this overhaul included removal of humanoids for characters and replace it with a more suitable system. This system has worked beautifully so far besides for one thing, replication. There is a weird issue where the system is incredibly demanding on networking and here lies the issue.
As far as I have been there’s a constant traffic of 1kB/s, which should be fine for pretty much everyone, yet it can feel laggy. I know this is a network issue considering people with relatively weaker connections have this occurring near always meanwhile for myself I never get this issue.
So my question is, are there any tools to dive deeper into what is being sent and when over networking traffic? And is there a tool to ‘simulate’ a weaker connection? I couldn’t find anything besides the profiler and that didn’t seem particularly useful for me as it is used to check workloads rather than profile network traffic.
For anyone curious what is going on behind the scenes.
For every 0.3 seconds
→ For each unit in the game, update a vector3 value inside of the unit rootpart
On the client, detect when that value changes, then smoothly animate the rig from previous position and to new position.
(yes this is all that is happening)
A tool which simulates network lag within roblox would really help me out, but I have yet to find a tool for that. The same with profiling the network traffic, are there any methods to do this?
Thanks
Jaschutte