Download

[solved] Error playing Animation Montage from C++

Following tutorial here to play animations on a SkeletalMeshComponent from C++.

https://answers.unrealengine.com/que…lueprints.html

Getting this error:

“LogAnimation: Warning: Currently in Animation Blueprint mode. Please change AnimationMode to Use Animation Asset”

Any ideas?

Solved:

  • if a skeletal mesh is playing an animation montage, and you call mesh->IsPlaying() it fails and spits that warning
  • you have to call mesh->GetAnimInstance()->Montage_GetIsStopped() or Montage_GetIsPlaying()