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

SteamVR Auto Populate Doesn't Work #7

Open
ddugganCRA opened this issue Jun 7, 2019 · 1 comment
Open

SteamVR Auto Populate Doesn't Work #7

ddugganCRA opened this issue Jun 7, 2019 · 1 comment
Assignees

Comments

@ddugganCRA
Copy link
Collaborator

Checking the 'auto-populate' box on the SteamVR SDK setup won't find the necessary objects in some versions of Unity. Unchecking the box and just pressing the button seems to work for some users.

I believe the issue is related to VRTK_SharedMethods.FindEvenInactiveGameObject or similar which have in some cases been unable to find objects in different scenes for some versions of Unity. SteamVR's don't destroy on load forces the setup into a separate scene.

@ddugganCRA ddugganCRA self-assigned this Jun 7, 2019
@ddugganCRA
Copy link
Collaborator Author

This issue primarily occurs because SteamVR by default marks itself with DontDestroyOnLoad.

This can be fixed by adding the script 'SteamVR_Behavior' and unchecking the Do Not Destroy option. This doesn't get to the root cause of the issue, but will solve it for 99% of use cases.

I will close this issue once this step is adding to the setup docs.

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

No branches or pull requests

1 participant