VRandArchI Posted July 1, 2019 Share Posted July 1, 2019 I've found another typo in Unity version of SRanipal SDK, version 1.0.1.0. File: ViveSR\Scripts\SRanipal_Eye.cs, line 162 Function: SRanipal_Eye.GetEyeOpenness(EyeIndex eye, out float openness) Description: Function always returns true, despite code comments saying that it should return data validity. Solution: Change line return true; to return valid PS: While UE version of SDK doesn't have this error, it also doesn't check whether framework is active, while Unity current version does. This is also probably not intended behaviour. Link to comment Share on other sites More sharing options...
Corvus Posted July 1, 2019 Share Posted July 1, 2019 Thanks for catching this! We'll get this fixed in an update. Link to comment Share on other sites More sharing options...
mrk88 Posted July 12, 2019 Share Posted July 12, 2019 and maybe bool valid = true; at the beginning of function ? otherwise it didn't recognize valid Link to comment Share on other sites More sharing options...
VRandArchI Posted July 15, 2019 Author Share Posted July 15, 2019 wrote: and maybe bool valid = true; at the beginning of function ? otherwise it didn't recognize valid Yeah, good point. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.