Alright, so after so more research, I found my answer. The issue was that I didn’t call the super when I over wrote the OnMovementModeChanged function.
.h file
virtual void AMyClassName::OnMovementModeChanged(EMovementMode PrevMovementMode, uint8 PreviousCustomMode) override;
C++ file
void AMyClassName::OnMovementModeChanged(EMovementMode PrevMovementMode, uint8 PreviousCustomMode)
{
Super::OnMovementModeChanged(PrevMovementMode, PreviousCustomMode);
/* Your logic goes here */
}
Do the following and you will have no issues creating your own logic or setting variables (like getting the previous movement mode).