ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
352 stars 82 forks source link

Vive Focus Unable to track #77

Closed zealousappex closed 5 years ago

zealousappex commented 5 years ago

In Unity using Vive Input Utility v1.10.1 causes the Vive Focus to freeze when running the examples.

I downgraded to Vive Input Utility v1.9.0 and the example work again.

I'm running: Unity 2019 WaveSDK-2.1.8 Vive Input Utility 1.10.1

chengnay commented 5 years ago

Thanks for reporting this issue. It will be fixed in next release.

frg-kova commented 5 years ago

Same problem, but most examples don't freeze, just one I tried, others render with camera being extremely shakey if you move your head so it's unusable. Please make this high priority and hotfix it.

Unity 2018.3 WaveSDK-2.1.8 Vive Input Utility 1.10.1

chengnay commented 5 years ago

@zealousappex @frg-kova Could you try the latest version VIU 1.10.2 unitypackage from GitHub. We just fix this issue.

frg-kova commented 5 years ago

I updated to 1.10.2 and still have the shaky camera issues. This might not be related to the freeze bug so feel free to create a new issue from this if needed. This happens on VIU example scenes also but is not as noticeable as when you have a bit larger scenes. If you stay still - not noticeable at all, but if you move your head that's when the view is shaking, like it's going back and forth a bit all the time.

HelloVR example from WaveSDK - works, 75 fps HelloVR with ViveRig - shaky, also at 75 fps

Finally I added a bit of geometry to HelloVR so shake is clearly noticeable and made a script that switches between the two when you press trigger as a demo: http://temp.protopixel.hr/VIUCamShakeDemo.apk (27MB)

It worked in 1.9.0 also, can you guys go through diff between 1.9.0 and 1.10.1 and take a look everything camera/rendering related?

Unity 2018.3.0f2 WaveSDK-2.1.8 Vive Input Utility 1.10.2

zealousappex commented 5 years ago

I'll have the unit back from a conference next week and will test. Thank you.

frg-kova commented 5 years ago

Any news on this? I can't be the only guy that wants to use VIU for Focus, right guys? ...err, guys?

dariol commented 5 years ago

Not at all - I use it for several projects and give workshops precisely on using VIU for Focus - I'm looking into the diffs to see what this could be. If you can update to previous version 1.10.1, you can cherry pick this needed fix provided in 1.10.2 that addressed the freezing issue on the Focus: initially reported here https://github.com/ViveSoftware/ViveInputUtility-Unity/commit/bf3c6c50ef7cb431dfea01a5b57ba659e15484cf

Outside of that I've been unable to repro the shaking issues and will address offline with @frg-kova

@zealousappex please let us know if 1.10.2 closed your issue.

frg-kova commented 5 years ago

Confirming cam jitter issue resolved in 1.10.3

zealousappex commented 5 years ago

I apologize for the delay, I have not gotten the unit back to test. I will close the issue since it looks like its confirmed fixed by frg-kova