- 17/09/2019 at 22:44 #11998
I’ve been attempting to follow the tutorials for setting up a simple scene with a cube that highlights upon gaze (and I’ve also tried some sample scenes such as “Example_GettingStarted” from the Tobii XR SDK package), but the script won’t run when “Tobii or HTC Provider” is selected under Window > Tobii XR. When I try to run the scene, I get the following error:
Assets\TobiiXR\External\Providers\TobiiHTC\TobiiHTCProvider.cs(20,44): error CS0117: ‘SRanipal_Eye’ does not contain a definition for ‘IsViveProEye’
Scenes will only run if I instead select “Tobii Eye tracking provider,” but this produces an error that leads the program to default to “NoseDirectionProvider.” So the scene will then run, but it’s not really tracking my eyes at all.
Interestingly, the “EyeSample” scene from the SRAnipal SDK (which has some dartboards and a face in a mirror) works perfectly even when “Tobii Eye tracking provider” is selected, but fails entirely when “Tobii or HTC Provider” is selected.
Any help resolving this issue would be much appreciated!18/09/2019 at 14:08 #12002Grant [Tobii]Keymaster
Hi @bfalandays, thanks for your message and apologies to hear about your experience.
We have recently been made aware of this issue also and is being caused by a new version of the SRAnipal SDK which has not yet been updated to be fully supportd on the Tobii XR.
However, we are planning on releasing a new version of Tobii XR which will address this issue ideally before the end of this week.
Accordingly, please check in again and keep an eye on a XR SDK update. Thanks for your patience during this time, best wishes.18/09/2019 at 14:18 #12003Mattias BrandParticipant
The current Tobii XR SDK (1.4.1) is tested with SR Anipal 1.0.1. There was a breaking change in SR Anipal 184.108.40.206 where the function IsViveProEye was moved from SRanipal_Eye to SRanipal_Eye_API. To unblock you now, you can make this change manually in your project.19/09/2019 at 02:00 #12004YashasParticipant
It works for me, thanks Mattias!19/09/2019 at 03:15 #12005
Wondering if anyone could add more info on how to make this adjustment, for a Unity noob? I tried copying the lines containing the “IsViveProEye” function from SRanipal_Eye_API script to the SRanipal_Eye script, but that didn’t seem to do anything. Apologies if this is a naive question!19/09/2019 at 03:16 #12006YashasParticipant
No, you just have to change “SRanipal_Eye” to “SRanipal_Eye_API” in the same script!19/09/2019 at 03:19 #12007
Oh great, very helpful! Thanks19/09/2019 at 03:31 #12008
Sorry, one last question! Which script needs this change made? Is it one of the SRanipal scripts, or one of the Tobii XR scripts?22/09/2019 at 10:49 #12021Mattias BrandParticipant
XR SDK for Unity 1.5.2 contains a fix to this issue:
https://vr.tobii.com/sdk/downloads/24/09/2019 at 10:03 #12022Grant [Tobii]Keymaster
Hi @hbfalandays, I hope you managed to get everything up and running now? Thanks for the update 🙂
- You must be logged in to reply to this topic.