There is a replicated actor. There is also a replicated variable Collision Enabled using Repnotify. In the repnotify implementation, I simply turn off physics and collision. By default, the actor has physics and collision enabled. On a custom key, I take an instance of the replicated actor class from the stage, set the replicated variable and attach it to the actor. Everything is fine on the server, but on the client the actor is not attached. If I put a delay between setting the replicated variable and attaching, then everything works. Problem: On the client side, the repnotify call occurs later than the attachment. Although I call repnotify first, and then attachment. Why is this happening? And how to solve? Perhaps there is another way of what I want to do?
Thatβs not the point at all. Even if the other computer were on another planet. There must be a sequence in which packets are sent. And I donβt understand how it works in the unreal based on the example.