Hello,
I was able to resolve your compile issue by changing this code:
:Super(ObjectInitializer.SetDefaultSubobjectClass<UJumpPathComponent>(TEXT("PathFollowingComponent")))
to this:
:Super(ObjectInitializer)
Instead of Using SetDefaultSubobjectClass in the super, you can try to do so in the constructor itself. After I did this, I did not receive any more compiler errors. Let me know if this fixes your issue as well.
Have a great day