Set actor location does not work with actor component tick

I’m trying to have an actor component move the actor it is attached to every tick but it will not work. The tick itself is working but the actor set location is not.

Strangely when I select the actor in the world outliner it suddenly starts working in the game.

It’s a bit unclear what you mean by having an actor component move the actor. Can you share the structure of your actor blueprint and the code you are using.

It’s just an actor component that calls set actor location on its owner. The issue seems to be how I add the component to the actor. I can’t find how you’re supposed to add a component outside of a constructor.

You can create components at runtime, but I don’t think the way you add it is the issue.
How you you get a reference to your parent actor in the component code?

GetOwner()