Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
TheStonefox's avatar
6 years ago

Oculus Integration Unity Asset - Haptics not working on Rift S

I'm trying to use the Oculus Integration Unity Asset (version 1.42) to get haptic feedback on the Rift S controllers.

In the past I've used OVRHaptics to do this but I see this has been deprecated now (even though I've tried OVRHaptics and that doesn't work on Rift S either)

So I'm trying to use OVRInput.SetControllerVibration and I'm just getting no haptic feedback at all on either controller.

If I use the built in UnityEngine.XR InputDevice.SendHapticImpulse, then I get haptic feedback on the Rift S just fine so the haptics are working fine on the controllers and are working fine within Unity.

But no matter what I try, I cannot get the OVRInput.SetControllerVibration or the OVRHaptics stuff working at all on the Rift S

Am I missing something or is this just broken somehow in the SDK?

3 Replies

  • I figured it out, you need to have the OVRManager in the scene otherwise it doesn't work.
  • Thanks! Adding the OVRManager made the vibration come back. It used to work without it, I've never used it.
  • I use the built in UnityEngine.XR InputDevice.SendHapticImpulse, then I
    get haptic feedback on the Rift S just fine so the haptics are working
    fine on the controllers and are working fine within Unity.