Physics Not Replicating

Hi, I have been making a paper 2d platformer style game. I tried to make a platform that falls apart when someone steps on it, but in multiplayer, the server sees different things than the clients. I tried simulating physics when someone steps on it, but it is really buggy. Replication and Replicate movement are both true, and all the component replication are true too.

Hey there, this might happen when the values aren’t exactly the same between server and client. Try printing the location you are applying the impulse to break the destructable mesh and see if they match. If they don’t you might need to prevent it from happening on the client and execute only on the server. When it happens the server sends a client RPC with the right information of the impulse to use and then apply the impulse there.

Are you using static mesh or a destructable mesh?

I am sorry, I am new to multiplayer and I don’t know what an RPC is. Could you explain? Also, Are you referring to a radial force when you say impulse? My character just walks into the physics-enabled object.

It is 2d. I’ll post a video

Sorry For the late reply. Had some trouble https://drive.google.com/open?id=1kehmokHYg1pit5JdlVGsODf2UCvM6VND

https://drive.google.com/open?id=1vfbDWZVrDfCp-OvdAoklpIdSIEjNrCiP

Need permission, can you just add it to youtube?

That’s odd. Maybe I didn’t share it correctly. Try this https://drive.google.com/open?id=1vfbDWZVrDfCp-OvdAoklpIdSIEjNrCiP
https://drive.google.com/open?id=1kehmokHYg1pit5JdlVGsODf2UCvM6VND

It is a platform that crumbles when something touches it.

When you set the simulate physics to true when you step on the platform on the server, does the client’s platform stay in place while the server’s is falling?

Here is the code

I tested doing the event on the server. It seems the same, but in the video, the platform clips out and starts acting odd.

The video you sent is from the client’s perspective?

There are 2 clients from a deticated server

So if you run it as a listen server, how does the platform falling looks in the server?

If I run it as a listen server, the platform falls normally.

Can you show me a video of that, so i have an idea of the desired behavior.

Sorry for late reply. School stuff and all. Here! https://drive.google.com/open?id=1XHCqUpDuHADCPqcvRYxRgFf5phyv_YVk