Attach actor to component doesnt work

In my code I use attach actor to component. If I spawn the actor in and attach it, everything works fine, but if I change anything about the actor, for example Simulate Physics, the actor just floats where I spawned it in and doesnt move with my character. Any ideas as to why this happens and any ways to fix it?


This code works, but if I change simulate physics it doesn’t

make sure that in “socket name” there are no spaces, the name needs to be exctly right, and also make sure that in “spawn actor” there is a valid class and not an empty value.

Alls there and all works fine, unless I change anything about the spawned in item, then it doesnt work