Jump to content

Another minor bug in Unity SDK

Recommended Posts

I've found another typo in Unity version of SRanipal SDK, version
File: ViveSR\Scripts\SRanipal_Eye.cs, line 162

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;


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

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...