Wow, thanks a lot for you quick answer. I missed this one, but sadly I still get issues, I tried:
UE_LOG(LogTemp, Warning, TEXT("Time fraction %s"), *skeletalComponent->GetAnimInstance()->GetActiveMontageInstance()->GetNextSection().ToString());
Which gives me:
error LNK2019: unresolved external
symbol "public: class FName __cdecl
FAnimMontageInstance::GetNextSection(void)const
"
(?GetNextSection@FAnimMontageInstance@@QEBA?AVFName@@XZ)
referenced in function “public:
virtual void __cdecl
UTimeReversableSkeletonComponent::TickComponent(float,enum
ELevelTick,struct
FActorComponentTickFunction *)”
(?TickComponent@UTimeReversableSkeletonComponent@@UEAAXMW4ELevelTick@@PEAUFActorComponentTickFunction@@@Z)
I also tried:
UE_LOG(LogTemp, Warning, TEXT("Time fraction %s"), *(*skeletalComponent->GetAnimInstance()->GetActiveMontageInstance()->GetNextSection()).ToString());
Which gives:
error C2100: illegal indirection
I know my pointer knowledge is not good, but I am trying to wrap my head around what is not working here and still no luck : /