Attach Actor to Component Not Working On Server

Hey All,

I’ve been banging my head against this issue for a couple of days now. Essentially I’m spawning my actor (in C++) and then attaching it to a socket on my character using a two Blueprint Implementable Events, one which runs on the Server and one which runs OnRep for each client. The issue is that while it appears to attach client side, it simply falls to the ground without attaching on the server. With collision disabled, it falls through the floor and is destroyed.

Even more odd, if I play as a listen server this issue does not seem to happen. Only when I play as a client. How can that be the case?

Any ideas would be greatly appreciated. Thanks in advance!

  • Attach Actor to Character at Server
  • And then Actor->SetOwner(Character / this)