The function called "Wait Input Release"

I use this function in my jump ability blueprint (like lyragame), but when I print some test string, I found the function does not work.Caused by any configures missed?

1 Like

I have the same question. my solution is in below
ULyraAbilitySystemComponent::ProcessAbilityInput(float DeltaTime, bool bGamePaused) Function will handle AbilityInput in Lyra. Lyra Has Override two function AbilitySpecInputPressed and AbilitySpecInputReleased. thoes function will call InvokeReplicatedEvent which is correspond with AbilityTask_WaitInputPress And AbilityTask_WaitInputRelease.

3 Likes

Getting this same issue coming from 5.4 to 5.5. Had my own project where wait input release worked fine. Upgraded to 5.5 and now it won’t work at all. DL’d Lyra 5.5 and it works fine there. No idea what could be the issue. While digging I found that the Delegate InvocationList is empty on my project while other projects link back to the OnReleaseCallback. But it’s the same exact code doing all of that so no idea why it wouldn’t work now.

1 Like

Same problem here.

hi, did you solve it ?

The 5.5 WaitInputRelease issue is solved in the Lyra source

Take a look at the changes in LyraAbilitySystemComponent.cpp in ULyraAbilitySystemComponent::AbilitySpecInputPressed and ULyraAbilitySystemComponent::AbilitySpecInputReleased

The prediction key needs to be obtained differently now

I guess it has something to do with the lyra change here (right is 5.5)

Unfortuantely it looks like it works in editor but still doesnt work in packaged client/server

I had the same problem with my own version of Lyra and i solved it by copying the latest version of LyraGameplayAbility.

Go to the UE5 source code on GH (or you can download the Lyra Starter Game again to another dir) and go at this directory.

https://github.com/EpicGames/UnrealEngine/tree/release/Samples/Games/Lyra/Source/LyraGame/AbilitySystem/Abilities

Copy the code of LyraGameplayAbility.h and LyraGameplayAbility.cpp to your own project and it should work.

Try the same with the LyraAbilitySystemComponent in AbilitySytem/Abilites too.