GetActorForwardVector() and GetActorRotation() being reset in Tick

Hi there,
I’m having a weird issue where when I call GetActorForwardVector() and GetActorRotation() in Tick they always display their default values but after calling UpdateLookDir() which rotates my character towards the mouse position it seems that both values get updated correctly but then in the next frame in Tick they get reset back to their default values although UpdateLookDir is the only function controlling my character rotation.

I added logs to print the value before and after my function call in Tick and you can see that the ones printed before the function call always have the same default value also the forward vector drawn in red always has the default value as it is being drawn before the function call, (you can also the character rotation in the transform that it is never reset to R(0,0,0)). Code provided down below



Did you find any way to solve this problem now?
I meet similar problem, which mean it like “get-set-get in actor’s tick but found the BEFORE data in next frame didn’t change”
I try to reproduce in a blank project, but failed.
So I review my code, and finaly find the reason.
There is a component I add for other feature, and this component would change actor rotation everyframe. I guess component’s tick is ahead of the actor it belong to, so the BEFORE data you get in actor’s tick always the unexpected one, while your set action would work as you expected(because AFTER data is correct).
So if you didn’t solve this problem, I suggest you try to reproduce in a blank project.