PlayHapticEffect not working on HTC Vive 4.12.5

Hello,
After been searching through internet for days I have finally decided to ask for help.
I am trying to use haptic effects in HTC vive controller but there is no way to make them work well.
I can use the play force feedback effect but I can not achieve the effect I want with them, also when I package my game in shipping it crashes randomly in this function inside CurveBase.cpp:

And this is my call stack:

It works well on the editor but I need it working on a packaged build too.

The PlayHapticEffect never played for me, I tried creating a HapticEffect blueprint on the editor and playing it through the blueprint function but it never works, maybe I am doing something wrong, this is my haptic effect blueprint:

Any help on this would be appreciated, Thanks :slight_smile:

PlayHapticFeedback for the Vive is completely broken as of now and wont work.

What you could do to achieve a similar effect is to do it yourself using PlayDynamicForceFeedback (lets you control the ForceFeedback a bit better than normal PlayForceFeedback), but you wont have any graphical curves but need to code this part yourself.

Cheers,

Ok, I will try with that function, I’ve seen it in the player controller.
Thanks!

I have it working!
Finally I ended up creating a UCurveFloat and updating the vibration on the tick function using the PlayDynamicForceFeedback method.
It works fine on the packaged build. Thanks for your help!

If the answer helped, please consider marking the Question as solved. Thanks :slight_smile: