Error/Bug when creating a haptic curve in runtime

Still can’t find a way to solve it, I tried to create the haptic curve from the editor and just set it’s values from the cpp file but it still leads to that same issue.