Several Elements crash in Studio when their duration is shorter than their enter plus exit animation:
inputRange must be strictly monotonically increasing but got [...]
Their interpolate() input ranges subtract fixed frame counts from durationInFrames, e.g. [0, 20, durationInFrames - 24, durationInFrames - 4]. Below a certain length the exit keyframes land before the enter keyframes.
| Element | Crashes below | Affected layers |
|---|---|---|
| Polaroid Pictures | 91 frames | AbsoluteFill zoom, polaroid Interactive.Divs |
| Location Lower Third | 71 frames | Interactive.Svg opacity/translate/scale, "Location" crop and opacity |
| Name Lower Third | 53 frames | "Name bar" and "Title bar" crops |
| Product Collection | 25 frames | Container opacity/scale/translate |
| Speed Lines | 9 frames | AbsoluteFill opacity |
Clamping the duration (Math.max(durationInFrames, N)) avoids the crash, but Studio only keyframe-edits ranges that use durationInFrames taken directly from , so these animations would stop being editable. #13385 applied the clamp only to non-editable animations (YouTube Comment Highlight, YouTube Subscribe Nudge, Product Collection card scroll) and left these unchanged.