How to attach an actor to the socket of another actor?

I want to attach an actor who previously had physics enabled.
If the actor’s physics is turned off from the beginning of the simulation, then everything is fine. If you turn on and off physics at least once, the actor can no longer be attached.

I understand that this is due to the limitations of the engine, but is there really no way to get around this?

Try to set Simulate Physics off by default and on begin play set simulate on

Tried it. So all the same does not work. Any actor who was in a state of physics simulation can not be tied correctly