Hello everyone. I hope anyone can help me on this one because i’m getting crazy. The problem is i’m trying to spawn an actor from server which i can and i think i should. But it’s not attaching to character on clients ( on dedicated server ).
I tried to create 3 custom events ( normal event, multicast and server ) and did not do the trick. the best result i can reach with this script. Does anyone have any idea? Any answer would be awesome for me…
Not sure if this is exactly the same issue. But when I called AttachToComponent in a server function, I also noticed that the weapon was not being attached to my player. When I looked at the blueprint for my weapon, specifically the static mesh component, I noticed I did not check the “Component Replicates” box.
Once I checked this box, the weapon attached to the player on both the client and server side.