Steam VR controllers becoming hidden after steam button pressed
I've ran into a issue while using steam vr controllers.
The controllers are working all fine and such until the user presses the steam menu button (bottom button on the controller) or the headset button. It then turns into a hidden object and will never return back from being hidden.
Answer by ianmacg · Apr 05, 2017 at 06:28 PM
I had this same issue and found a fix.
My issue was that I had the controllers registered as 'objects' in Steam VR_ControllerManager in the Unity Editor, in addition to assigning them as 'Left' and 'Right' in that same script.
Removing them from the 'Objects' array fixed the issue for me.
The issue was showing as: Press SteamVR Button
My controller becomes: "hidden" -> "hidden (2)" -> controller
Press it again
My controller becomes "hidden" -> controller
i.e. SteamVR would hide it twice, and then unhide it once. Presumably that's a bug on their end, but my setup was also incorrect per their (poor) documentation:
public class SteamVR_ControllerManager : MonoBehaviour
{
public GameObject left, right;
public GameObject[] objects; // populate with objects you want to assign to additional controllers
@PunyOne @Alanyeats hope this helps.
Thanks!
I resolved the problem by just deleting the rig and creating a new one with the same scripts, so I actually don't know if that was the issue, but should it re-appear I'll know where to look :).
Your answer
Follow this Question
Related Questions
Touch controllers Steam VR 2 Answers
When I import and install the SteamVR plugin from the Asset Store I get errors. 1 Answer
how to disable htc vive pro vr camera rotation and position ? 0 Answers
How to Lock Steam VR camera to the head of the Player model 0 Answers
OpenVR Error: VRInitError_IPC_CompositorConnectFailed 0 Answers