ViveSoftware / ViveInputUtility-Unity

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

Canvas lag tracker position in build #33

Open benjaminshp opened 6 years ago

benjaminshp commented 6 years ago

Hi folks,

at the moment with 1.8.0 an attched canvas lag to the tracker. I think this was an issue before, but was fixed. Now it appears again... but only in the build not in the editor... in the editor play its ok... any suggestion to try out ?

I have tried. lateupdate, FixedUpdate, Update...

thank you in advanced..

benjamin

lawwong commented 6 years ago

Which version of Unity Editor and SteamVR plugin did you use? I haven't test in all version but 2017.3 with SteamVR plugin v1.2.3 seem working fine in both editor and build. Also it is recommended to use VivePoseTracker.

benjaminshp commented 6 years ago

I have updated to the latest Versions.. Unity Editor Version 2017.3.1f1 Steam VR Version Plugin Unity 1.2.3 Vive Input Version 1.8,1

I have attached the Vive Pose Tracker Script to a GameObject...

GameObject (Vive Pose Tracker) ++ Center GameObject ++++ Camera -> Target Texture ++ Canvas ++++ HUD with Camera View (Target Texture) ++++ Rectangle following Object of the Scene (lagging in the build)

I have now noticed that there is an empty GameObject also following the tracker1 with the Script Vive Poser Tracker... I think that was the origin Setup.

Made a build... still the same.. Editor fine, build lag... but I know I have got a version working before.. with editor and build... because it was an issue from the start and it was fixed through updates, but now its fall back,,, I am sorry I cant tell which specific version all components got...

best wishes benjamin

lawwong commented 6 years ago

Not sure if I reproduce your scene correctly... (Didn't have Vive Tracker around so I use controller instead) Tracked Canvas Image I run the build with 2017.3.1p3, but the tracking is fine. Maybe update from f1 to p3 and try again?