Posted April 06, 2023 by mditcharo
ISSUE: When loading into a checkpoint, the players rotation would not be set properly. This caused him to be looking in a random direction after spawning, which lead to confusion. When solving this issue, I had thought the problem came from the type of rotation blueprint I was using. After some testing I had found this to be false as it worked every else it was used. Another thing I thought it could be was that the player rotation was not being saved correctly. Again, I found this to be false after some tests. So after spending some time debugging this issue, I found a very simple solution.
SOLUTION: To fix this bug all I needed to do was put a very small delay before the rotation gets set on begin play.