Problem with component

Hi. I created HealthComponent in the class constructor of my character.After that I checked it and everything was allright . However when I used the IsValid function in BeginPlay,it returned me false. I don’t understand why this is happening. What is the problem please tell me

There are character and component files:
STUHealthComponent.h (1.5 KB)
STUBaseCharacter.h (2.0 KB)
STUHealthComponent.cpp (1.1 KB)
STUBaseCharacter.cpp (4.2 KB)

And link to the git with the whole project:

I downloaded your project and it seems like your character BP has been slightly corrupted. You can fix it by reparenting the BP to Character, save the BP, and then reparent back to STUBaseCharacter, the health component seems to work after that

That will most likely result in a loss of all modified parameters in any of the components though, so be ready for that