Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

docquantum
Copy link

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

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 ValveSoftware#483
@zite zite added the Fixed in next release Fix coming in next release label Feb 13, 2023
@zite
Copy link
Collaborator

zite commented Feb 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in next release Fix coming in next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants