Distance Matching Locomotion : Giving it a shot!

I tried implementing @'s code as a plugin, which I did successfully. And I added the “Uniform Indexable” compression type to my animation curves.

PluginPic.PNG

But whenever I Play, my editor crashes as soon I try to move at all. I can look around, but when I add movement input, the editor crashes.

EDIT: The below pic is the error I get.

Does anyone have any suggestions for how to fix the issue? I know almost nothing about c++.