Timeline adds 1 million to playable.GetDuration() when extrapolation is set to anything but none

This is super confusing to me, I’m trying to understand why playable.GetDuration() is adding 1,000,000 to the duration when clip caps are set to anything but none, but I can’t seem to find out if this is a bug (it looks like one) or if this is standard behavior.

If this is standard behavior, I’m not entirely sure why it was chosen.

Any insight would be super helpful! Thank you in advance!

P.S. Here is another post that seems to be experience the same issue.


So some further investigation is showing that it only adds 1 million, when it’s the last clip on a timeline track where the post extrapolation is anything but none. I think the reason why it’s doing this is because it’s post extrapolation beginning time is now technically infinity .