I have recently started working with unity, vive and the SR anipal. I followed the steps described in the anipal sdk, but for some reason all eye tracking values (pupil diameter, eye openness, eye position etc) are returned as zero. The runtime version of the SR anipal is 1.13, the eye camera version is 2.41 and unity is 2019.4 . I tested it with both version 1 and 2 of the SR anipal, and I extract the data in the following way:
public ViveSR.anipal.Eye.EyeData eyeData = new ViveSR.anipal.Eye.EyeData();
and within the update function: pupil_diameter = eyeData.verbose_data.left.pupil_