Home Forums Unity SDK Pro SDK with .NET 4.x Scripting Runtime

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11289

    I have been using the Tobii Pro SDK with a Vive Pro Eyetracking Retrofit.

    I have noticed that my project has been using .NET 3.5 scripting runtime and upon changing this to .NET 4.0, I noticed an error propagating while using the Tobii Pro SDK.

    The problem stems from the VRWrap internal class in Tobii.Research.Unity.VRUtility. When trying to add the error to the arguments object array on line 406, sending the error as an int would work for .NET 3.5, but I’ve had to explicitly cast the error int as a Valve.VR.ETrackedPropertyError in order for this to work in .NET 4.x.

    If this isn’t done, getting the result float fails and subsequently getting the tracker transform constantly fails in the EyeTrackerBase Update cycle.

    #11293
    Grant [Tobii]
    Keymaster

    Hi @theodore and thanks for your query. The Tobii Pro SDK is part of the Tobii Pro business department.
    This forum is intended for support with the Tobii 4C and EyeX Eye Tracker’s and their associated SDK’s.

    Please get in touch with Tobii Pro Support department directly @ http://www.tobiipro.com/contact/contact-support/ for an
    answer to your query.

    Apologies for any inconvenience and good luck with your project.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.