steamvr_unity_plugin icon indicating copy to clipboard operation
steamvr_unity_plugin copied to clipboard

Teleport.cs: Check for existence of controllers before accessing them

Open docquantum opened this issue 5 years ago • 1 comments

When trying to work on a project without an HMD with controllers, the project defaults to 2D Debug mode. However, since the code expects the controllers to exist, it's not able to get past trying to execute haptic feedback which results in teleporting to fail in 2D Debug mode. These changes make sure that the script check for controller existence before trying to access them.

This fixes issue #483

docquantum avatar Feb 04 '21 00:02 docquantum

Thanks for the pull request from 2 years ago! This will go into the next release.

keithbradner avatar Feb 13 '23 17:02 keithbradner