Grip Axis get stuck on

When getting input from the controller grips (1 or 2, left or right, as axis or action) the grip appears to get ‘stuck on’. If I’m getting it as an axis the axis remains at 1 while I am not gripping, if I’m getting it as an action the pressed action is sent and the release is never sent, even though I have physically released the grip.

This is an irregular thing, I have not found a reliable way to replicate except to repeatedly grip both controllers until it gets stuck. This happens with the left and right controller and happens with both of the two sets we have.

Hello ,

I ran a few tests on my end and I was unable to reproduce this issue. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any blueprints/settings that may be involved with this issue?
  1. Yes I have reproduced this in an empty project.

  2. a. Create an empty project

b. Add action and axis inputs for Motion Controller (L) Grip1 and Motion Controller (R) Grip1

c. in an empty scene level blueprint create events for the action and axis inputs we just created

d. connect the events to Print String nodes to log the result (as in attached pic)

e. run the project with the VR preview

f. use the controller grips a lot. It seems to happen more frequently when both controller grips are pressed and released simultaneously

g. eventually the grip input gets stuck on even though the grip is not physically pressed. This is evident by the axis logging 1.0 every frame and the action mapping showing pressed, but never released.

Hello ,

I have tested this issue again on our end. I have not been able to reproduce this issue. However, I would like to ask a couple of questions.

Questions:

  1. Around how long/how many times do I need to press the buttons before the issue occurs?
  2. Do I need to have both press event as well as the axis events for this issue to occur?
  1. This varies but it shouldn’t take longer than a few minutes of gripping and releasing. It seems to happen when gripping and releasing both controllers, I haven’t tested too thoroughly so it may happen with only one.
  2. You should only need either axis events or action ones, not both, I simply put both in to show that it happened regardless of which way the input was handled.

I have also noticed recently that if the grip input gets stuck on and I exit the editor and restart, even with a different project, and play again it is still stuck. This may mean that it is a bug with SteamVR or something else outside of Unreal, but I can’t say for sure.

Hello ,

I tested this issue further and I have not been able to reproduce the results that you are seeing on your end. However, I do have one thing I would like to check. Could you make sure that your batteries are fully charged? If not, could you charge/swap out the batteries and let me know if this makes a difference?

My controller batteries are fully charged. I charge them every night and have observed this behavior on full charge as well as less then full charge.

Hello ,

Thank you for the additional information. However, I have not as of yet been able to reproduce this issue on our end. What version of steam VR are you currently using?

SteamVR Version 2016-07-01 (1467410709)

Hello ,

If you update your steam VR does this issue still occur?

If I’m not mistaken that is the latest version of SteamVR unless you’re referring to a beta version? There are no new updates for SteamVR on Steam.

Hello ,

You are correct, I should have specified. Could you try to reproduce this issue on the latest beta?

Hey,
I can’t add additional information to this, just confirm that we have the same behaviour. Grip release is sometimes simply not firing with HTC . Might be an hardware issue though. Every other button is working as expected.
UE4.14

Cheers

Hello

I understand that you are having this issue, however without additional information I am unable to move forward with the investigation into this issue. Feel free to reopen the thread when you have additional information on how to reproduce this on our end and I will be happy to follow up.

i’ve been having this exact issue in 4.15.1, seemingly randomly. it’s very uncommon but totally screws up the player when it happens.

Hello SlimeQ,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any blueprints/settings that may be involved with this issue?

This is not related to Unreal Engine and is a problem with the controllers themselves, see the issue I posted that also contains a unity test project: Vive Controller Grip Buttons doesn't always return "Released" - XR Development - Epic Developer Community Forums

I just started having this problem on my new computer. It is a brand new computer, brand new install, brand new project, HOWEVER, I am using an Xbox One controller. I can confirm this on my existing project and a fresh one. I can move the same 2 projects over to another computer and this issue does not happen. This happens with all buttons. Let me set an example:

I create a fresh 4.18 OR 4.19 install I open it and create a new first person shooter project Launch the project Launch a PIE game Start walking forward for a few seconds Let go of the left stick and the player keeps running.

I am unable to change directions, jump, or anything else with the controller when this happens but I can use the mouse our keyboard to move around but the move forward axis remains stuck.

I test this on other games and the controller will not freeze.

I am trying to see if there is something on the computer that might cause it but the issue only exists within UE4.

I posted repro steps and repro projects here: Vive Controller Grip Buttons doesn't always return "Released" - XR Development - Epic Developer Community Forums

Your problem is unrelated to ours unfortunately, I would suggest creating a new post specifically for your issue.