JCSegula Posted October 21, 2019 Posted October 21, 2019 Hi! Im quite confused. Im trying to set up a scene to build in Unity and im unable to do it. I´ve tried the pre-built samples of the last version of the sdk, and im able to run it. The camera works and im able to recognize my hands. But when im trying to set up the sample scene inside the SDK, no matter is "Sample" or "HandModel", im not able to make it work. Im using HTC Vive Pro and i have the camera set up correctly and XR Settings as OpenVR. What am i doing wrong? Thanks in advance Juan
zzy Posted October 21, 2019 Posted October 21, 2019 Hi @JCSegula Since you can run it using prebuilt sample package, I would assume your SteamVR setup is correct. The problem should possibly in the Unity side. What version of Unity are you using? Is there any error log in Unity console window after you play the scene? Does the display (skybox) changes as you moves your headset? 1
JCSegula Posted October 21, 2019 Author Posted October 21, 2019 I must say i do builds in a computer and then test the builds in another one. So i dont click play, i build the project in one pc, then use the .exe on the other pc. But, i did use an asset that make a report while using the build, so i can see unity errors. 1.- Im using 2019.3.0a7 2.- It says: Start gesture detection failed: Camera 3.- Camera is moving normally as i move headset. No problem with that.
zzy Posted October 21, 2019 Posted October 21, 2019 From the error log, the camera failed to start, i.e. our SDK failed to get camera frame. Please make sure you followed the camera setup steps on the test computer (where you run the .exe). Please also try the prebuilt sample to see if it can work on the test computer.
JCSegula Posted October 21, 2019 Author Posted October 21, 2019 It works there. When i said i had test the prebuilt, it was on the test Pc and it works. Is there where i have the headset plugged in. Excuse me if i didnt explain myself correctly.
zzy Posted October 21, 2019 Posted October 21, 2019 Then that seems strange. I'll try if I can reproduce the situation on my side. In the mean time, can you please try another Unity version see if it works or not? I would recommend 2017.4 or 2018.4, since these are LTS versions. I also tested with 2019.2.0f1 on my computer.
JCSegula Posted October 21, 2019 Author Posted October 21, 2019 Hi @zzy! I´ve tried the 2018.4 LTS version to make the build and it works. I have also tried to import the package in 2019.3, make some changes, then re-do a pack to export to 2018.4 and create a new build, and it also works. So the thing is not to do the build with 2019.3 as it doesnt work. Hope this clarify something... if you need anything else from me, please make me know. Thanks for your help
zzy Posted October 22, 2019 Posted October 22, 2019 Hi @JCSegula Thanks for your test. I will investigate why Unity 2019.3 does not work on my side.
zzy Posted October 23, 2019 Posted October 23, 2019 Hi @JCSegula I've tried on my side but failed to reproduce the problem. I tried Unity 2019.2.9f1 and 2019.3.0b7, but works fine on the built application, though I'm trying on the same machine that have Unity. Here is my steps: Create new Unity project with 3D template Import Vive Hand Tracking SDK Enable Virtual Reality supported in XRSettings Build and run for Windows platform Please let know if you have any new findings. 1
JCSegula Posted October 24, 2019 Author Posted October 24, 2019 Hi zzy Just for your interest, I'm begining to think is a problem of the Pc itself. But i don't know what could be the difference between both Pcs, so only one of them can build.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now