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:
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:
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.
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!