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: