Description

Currently, widget animations are updated in UUserWidget's NativeTick. Widgets do not tick when they are offscreen (as intended), but as a side effect, animations are paused and will resume once the widget is back onscreen. It would be preferable if the animation continued playing while the widget was out of view.

A solution may be to create a separate FTickableGameObject that is tied to the lifetime of the animation and continues to tick while the animation is playing. This way, we could continue playing an animation without having to tick the entire widget.

Steps to Reproduce
  1. Create a widget with an animation that plays when focus is gained, and plays in reverse when focus is lost
  2. Put your widget in a scroll box, and click it to play the focus animation
  3. Scroll until the widget is off the screen, and click elsewhere to move focus off of the widget
  4. Scroll back up, and observe that the focus lost animation will play when the widget is back on the screen

Have Comments or More Details?

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

22
Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems
Affects Versions4.184.194.20
CreatedJan 22, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
Pull Requests
6103 - KristofMorva
View Jira Issue