Home › Forums › XR Discussions › Vive Pro Eye SRanipal SDK Compilation error
- This topic has 9 replies, 4 voices, and was last updated 4 years, 11 months ago by Grant [Tobii].
- AuthorPosts
- 17/09/2019 at 22:44 #11998Ben FalandaysParticipant
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]KeymasterHi @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 BrandParticipantThe current Tobii XR SDK (1.4.1) is tested with SR Anipal 1.0.1. There was a breaking change in SR Anipal 1.1.0.1 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 #12004YashasParticipantIt works for me, thanks Mattias!
19/09/2019 at 03:15 #12005Ben FalandaysParticipantWondering 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 #12006YashasParticipantNo, you just have to change “SRanipal_Eye” to “SRanipal_Eye_API” in the same script!
19/09/2019 at 03:19 #12007Ben FalandaysParticipantOh great, very helpful! Thanks
19/09/2019 at 03:31 #12008Ben FalandaysParticipantSorry, 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 BrandParticipantXR 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]KeymasterHi @hbfalandays, I hope you managed to get everything up and running now? Thanks for the update 🙂
- AuthorPosts
- You must be logged in to reply to this topic.