InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

XRControllerWithRumble.SendImpulse() blocks for the entire impulse time.

Open Kleptine opened this issue 7 years ago • 4 comments

image

I'm not entirely sure if this is a bug, or an underlying issue with the Oculus SDK, but if I trigger a 100ms impulse through the XRControllerWithRumble.SendImpulse function, the code hangs and blocks until that impulse is finished.

Even if the impulse is small, there should be no reason to block!

Kleptine avatar Jun 18 '19 17:06 Kleptine

Oculus Rift Touch Controller, 2019.1.1f1, latest InputSystem stable branch.

Kleptine avatar Jun 18 '19 17:06 Kleptine

Hi Kleptine,

I cannot reproduce what you are seeing. This repository has a XR Haptics test located at \Assets\QA\Tests\XRHaptics\XRHaptics.unity. Please let me know if you can reproduce it there.

jackpr-unity avatar Jul 26 '19 00:07 jackpr-unity

Hi Jack,

I'll take a look again and see if I can get a repro -- I'm on the develop branch, now, as well, so perhaps it's fixed.

Kleptine avatar Jul 26 '19 00:07 Kleptine

Cannot repro anymore, so assuming fixed! Thanks!

Kleptine avatar Jul 26 '19 00:07 Kleptine