In the “xxx” section of this documentation, when you write code to set up an animation blueprint for the character, you must add an if statement to ensure the pointer is not null—otherwise, Unreal Engine will crash.
if
the document:
my fixed: