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_RenderModel doesn't initialise if Time.timescale is 0 #62

Closed
onimitch opened this issue Dec 5, 2017 · 2 comments
Closed

SteamVR_RenderModel doesn't initialise if Time.timescale is 0 #62

onimitch opened this issue Dec 5, 2017 · 2 comments

Comments

@onimitch
Copy link

onimitch commented Dec 5, 2017

We have our game paused on start to show a menu, while in the background the game (and thus VR components) initialise.

With time.timeScale = 0, it breaks the spawning of the controllers. They track correctly, however the models do not appear in the world.

We tracked down the cause to the use of yield return new WaitForSeconds(0.1f); in SteamVR_RenderModel.SetModelAsync. Changing this to WaitForSecondsRealtime fixed the issue.

@aleiby
Copy link
Contributor

aleiby commented Jan 4, 2018

I've made this change for Unity 5.4 and newer. Older versions of Unity do not have WaitForSecondsRealtime. I'll post the update after we rev the SDK later this month.

@aleiby aleiby closed this as completed Jan 4, 2018
@talha171
Copy link

talha171 commented Apr 6, 2018

my both controllers are not showing when me run my project in steam uesd unity

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

3 participants