Description

Placing a  section at the very end of a montage with no duration or animation assigned after it is not properly handled. 

Normally sections with 0 length are skipped and search continues since they do not pass the check for UAnimMontage::IsWithinPos(), ** this is true for all cases except if the montage section is at the end (since the search passes before continuing reaching the last section).

Therefore this causes issues when querying the current section and/or breaks a montage loop determined by linking sections together since the last section is never reached.

Therefore we need to either issue a warning when placing a section at the very end or properly handle that edge case.

Steps to Reproduce
  • Open an animation montage with various sections in it
  • Ensure these section linkage is ordered based on section's start time
  • Place a section at the very end of a montage with no duration or animation assigned after it
  • Make the last section loop back to the first section
  • Play and see how the montage never loops

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-208066 in the post.

0
Login to Vote

Unresolved
ComponentUE - Anim - Gameplay
Affects Versions5.45.25.3
Target Fix5.6
CreatedFeb 24, 2024
UpdatedOct 3, 2024
View Jira Issue