Trying to work with Lyra. Unable to do simplest thing: Create a cube that can be damaged.

Has anyone tried to do @Astaraa tutorial using C++?

I’ve tried making a child class of ALyraCharacterWithAbilities and then overriding the PostInitializeComponents() function. Finally, I added this inside it:

GetAbilitySystemComponent()->InitStats(ULyraHealthSet::StaticClass(), NULL);

I’ll add the datatable later once I actually manage to init the health component, but I haven’t been able to make it compile. Does anyone know how to do it?