Why is calling certain functions on a Character Movement Component instantly crashing the engine?

So far from what I’ve noticed, trying to call SetMovementMode() and Deactivate() is crashing the engine.

I really don’t know if I’m doing something wrong because it seems no matter where I put the line of code or how I use it, it always crashes. The crash report doesn’t really give me anything of value either.

Can anyone try this for themselves and see if they get the same issue? Maybe I’m just missing something.

Without a sample of the code, it would be impossible to say why it’s crashing. Also, running it in debugger should tell you why it’s crashing.