Jump to content

Unity Builds on Headless (eyetrackingless) Systems


Recommended Posts

We have a medium sized team building an Vive Pro Eye-enabled app.  The people doing the final builds are not necessarily the ones who have access to the Vive Pro Eye (especially since we are all working under shelter-in-place).  We are having trouble getting the builds to work with eye tracking when built with systems without HMDs.  We have installed the SRAnipal runtime on those systems and yet the builds still aren't working.  Is there an obvious set of files or data that we can transplant to make this work?

---->Ari

Link to comment
Share on other sites

I am wanting to us the SRanipal functions on systems with and without eye tracking capability (on the Vive-without-Eye systems it falls back to nose tracking).

The issue is that I am the only one on the team that can make a build that works (I assume) because I am the only one with a Vive Pro Eye.  This is not optimal on a team with 6 developers who want to be able to build our app.

If @Daniel_Y, @Corvus, or @Jad have any suggestions I would love to hear them. @Hank_Li

------>Ari

Link to comment
Share on other sites

Hi @hollandera

Please refer to this unity code

And you can get  nose tracking you want in unity.

 

                int dart_board_layer_id = LayerMask.NameToLayer("NoReflection");

                Vector3 direction = Vector3.forward;
                Vector3 origin = Vector3.zero;
                Ray rayGlobal = new Ray(Camera.main.transform.position, Camera.main.transform.TransformDirection(direction));
                RaycastHit hit;
                Physics.Raycast(rayGlobal, out hit, 20, (1 << dart_board_layer_id));

You can download the unity sample here:

https://developer.vive.com/resources/knowledgebase/vive-sranipal-sdk/

Thank you.

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
On 5/12/2020 at 11:45 AM, hollandera said:

I am wanting to us the SRanipal functions on systems with and without eye tracking capability (on the Vive-without-Eye systems it falls back to nose tracking).

The issue is that I am the only one on the team that can make a build that works (I assume) because I am the only one with a Vive Pro Eye.  This is not optimal on a team with 6 developers who want to be able to build our app.

If @Daniel_Y, @Corvus, or @Jad have any suggestions I would love to hear them. @Hank_Li

------>Ari

@hollandera Let us know if you are still encountering any issues and I can follow-up with you directly. Thanks. 

Link to comment
Share on other sites

Thanks @Hank_Li for your suggestion, but I have no trouble using physics raycasts. 

I believe I confused the issue by mentioning the nose tracking.  The problem is that the eye tracking system doesn't  appear to work on machines WITH OR WITHOUT a Vive Pro Eye when the build was performed on a machine that hasn't had a Vive Pro Eye connected to it.

What I am looking for is whatever files or libraries are missing from the development machine that enables the build to work properly.

I am just about to revisit this issue on another project and I will start by only installing the SRAnipal libraries to isolate that from the Tobii libraries.

I'll discuss with @Jad off-line and post back if we find a resolution.

----->Ari

Link to comment
Share on other sites

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...