Jump to content

Recommended Posts

Posted

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

Posted

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.

  1. What version of Unity are you using?
  2. Is there any error log in Unity console window after you play the scene?
  3. Does the display (skybox) changes as you moves your headset?
  • Like 1
Posted

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.

Posted

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.

Posted

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.

Posted

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.

Posted

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

Posted

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:

  1. Create new Unity project with 3D template
  2. Import Vive Hand Tracking SDK
  3. Enable Virtual Reality supported in XRSettings
  4. Build and run for Windows platform

Please let know if you have any new findings.

  • Like 1
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...