I have a class that inherits from UCharacterMovementComponent and everything compiles fine but when I add CharacterMovement = CreateDefaultSubobject(TEXT("CharacterMovement"));
in my custom pawn class’ constructor the game crashes as soon as it starts and provides no minidump found for this crash message.
Are you using a CharacterMovementComponent subclass in a Pawn? That’s why it’s crashing. CMCs require a Character subclass.
Also helpful if you posted crash logs in case it isn’t.