User reports:
I've noticed a bug with PlayMontageAndWait
There are 4 possible triggers when a Montage completes:
Once OnBlendout has been triggered - then if the montage gets interrupted, no pins will trigger - there will be no OnInterrupted, and no OnCompleted, it just silently stops the montage.
We have a number of abilities that end as a result of a montage completing, which means our designers will hook up OnCompleted and OnInterrupted to EndAbility. This will mean that very occasionally, a montage can get interrupted in the tiny time window between starting to blend out, and completing - the ability will fail to end - and we have a zombie ability that just sits there - blocking other abilities, and refusing to restart
I appreciate the fix is relatively simple in this trivial case - typically I attach a WaitDelay to the OnBlendOut pin, and then connect that to End Ability
In other cases where the ability has on- going logic, and potentially further montages, a bit more logic is required - usually a local variable connected to OnCompleted so that after the Waitdelay, I can check if OnCompleted triggered, and if not - connect as appropriate
So whilst the solution is simple in each case - I have to remind designers to do it - and overall: this feels a like a bug
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
How to achieve HLSL Multiple Render Target in Material blueprints?
Why does the REMOVE method of map container remove elements have memory leaks?
How does UMG set overlapping layouts?
Why does the system plugin 'UnrealBuildTool' error could not be found when the project is compiled?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-183351 in the post.
0 |
Component | UE - Gameplay - Gameplay Ability System |
---|---|
Target Fix | 5.3 |
Created | Apr 14, 2023 |
---|---|
Resolved | May 4, 2023 |
Updated | May 12, 2023 |