Hi,
I migrated my project from UE4 to UE5 and the “Restore State” boolean on the “Play Animation” node for UMG Widgets is now not working properly, while it was working properly in UE4.
To reproduce is pretty simple.
- Start from 3rd person template project
- Create a new widget with a canvas and an element in it, like an image or a button
- Animate the element so it moves down with a “transform” on the Y for example
- In your char BP add a new event on key press and trigger the “Play Animation” node of the widget. Set “Restore State” to TRUE on this node.
- Play the game and press the key once, you will see the UI element move down and then resetting to the top position by itself (all good)
- Press the key again, and you will see the UI element restart from top, then move down BUT will not reset to top position anymore, press the key again and it will never reset at the end of the animation.
This was working in UE4. Can someone please check it and confirm, also is there a fix? I need a fix or our UI animations are broken. Thanks.