How Do I Stop Physics Replication

I have this stupid physics system, that doesn’t need to replicate at all. So I instanced all the parts on the client, outside of the character, not welded to the character at all. They don’t exist on the server, they don’t exist for other clients. Yet my physics out data clearly shows that my client is trying to replicate these parts, eating up my network traffic.

How do I prevent part replication for client only parts?

Any script that we can work from?

Not sure why you would need to, it’s really basic. Instance a physics object on the client and you’ll see the problem in sent data

I don’t really understand your problem.

Parts made locally will only update physics to them locally as well

The whole point of instancing it on the client only, is because so much network traffic is used up by physics data. But the issue is, even on the client only, the client still tries to send the data over the network.

I’m getting this same problem currently with client-sided instanced parts; yet it’s still sending physics replication data over the network completely blocking valid traffic. Would you mind sharing a solution you came to, if any?

Haven’t come up with one yet unfortunately.

It can’t be the local parts. Maybe the physics out is due to your character being replicated. Also are you testing in solo play or are you spawning a server? If you test in solo play the physics out might not be accurate since client and server are together. Do your test by spawning a server and a client.

I’ve tried both play solo and in-game. Both have the same result. I’ll provide a demo place so you can see for yourself. demo.rbxl (28.2 KB)

Live place: demo - Roblox
Data send: https://gyazo.com/05f6a45c5ef2b7f93f303d386dcc1c6e

1 Like

And what’s the bandwidth it uses without those parts?

Basically nothing. It’s a new place file. There’s only 1 script with about 15 lines and all it does is spawn those parts on the client. Yet, it’s still trying to replicate those parts to the server.

Well, I don’t think there’s really anything you can do here unless you anchor the parts. Maybe make a bug report?

1 Like

Unfortunately anchoring the parts really isn’t an option. I’d make a bug report but I’m not a regular so it doesn’t appear for me. Maybe someone else can?

This is a really weird issue.

I messed around with this for a while and couldn’t get the client to stop sending data for all physics calculations. Super strange.

IKR So annoying. I can’t optimize physics network usage without creating a custom system, which in turn would be less performative for the client.

For anyone coming across this thread, this is fixed now! Parts created locally on clients no longer send physics updates.

9 Likes