# UE\_LOG, unable to print an FName from FAnimMontageInstance

**URL:** <https://forums.unrealengine.com/t/ue-log-unable-to-print-an-fname-from-fanimmontageinstance/346329>\
**Category:** Character & Animation\
**Tags:** error, unreal-engine, Components, UE4, CPP, question\
**Created:** [February 3, 2016, 8:38pm UTC](https://forums.unrealengine.com/t/ue-log-unable-to-print-an-fname-from-fanimmontageinstance/346329 "2016-02-03T20:38:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Cadrach](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cadrach](https://forums.unrealengine.com/u/Cadrach)\
**Post date:** [February 3, 2016, 9:09pm UTC](https://forums.unrealengine.com/t/ue-log-unable-to-print-an-fname-from-fanimmontageinstance/346329/3 "2016-02-03T21:09:43Z")

</div>

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 : /

---

_[View the full topic](https://forums.unrealengine.com/t/ue-log-unable-to-print-an-fname-from-fanimmontageinstance/346329)._
