Attempting to initialize SRanipal facial tracking with Vive Wireless is at best unstable. The culprit for this lies in the SRanipal initialization function, it returns an unhanded error code unique to wireless initialization. For reference, the SRanipal developer SDK outlines the following success/error codes:
EDIT: Curiously, the newer versions of the SRanipal documentation do acknowledge this, but not the older versions of the documentation (anything older than 1.3.6.8.). They describe the error code as:
// 1036 - 1050 reserved
LIP_NOT_SUPPORT = 1051, // VIVE Lip Sync is not supported by VIVE Wireless Adapter
This was discovered as part of my contributions to the VRCFaceTracking SRanipal module. Here is the source code for how we are handling this error:
TL;DR, Resonite needs to retry initializing SRanipal when this error is raised, until it succeeds or a set number of attempts are exceeded, rather than just giving up after the first attempt.
To Reproduce
1) Start Resonite using a Vive Wireless compatible headset. This can be the Vive, Vive Pro, Vive Pro Eye, or a Vive Pro 2 with a facial tracker installed (Please note the version of SRanipal does not contribute to the issue above)
2) Wait for Resonite to load
3) Observe lip tracking initialization is unstable (Using a Vive Pro Eye's eye tracking seems to exacerbate this issue, due to the eye tracking data requirement)
Expected behavior
Vive Wireless initializes face tracking consistently.
Screenshots
N/A
Resonite Version Number
2024.6.24.1317 - Latest
What Platforms does this occur on?
Windows
What headset if any do you use?
Vive, Vive Pro, Vive Pro Eye, Vive Pro 2
Log Files
N/A - Logs are not produced during the recreation of this issue
As you highlighted, use of SRanipal face tracking with the Vive Wireless adaptor is not officially supported by SRanipal, seeking input from @Frooxius on how / if we want to handle this.
Describe the bug?
Attempting to initialize SRanipal facial tracking with Vive Wireless is at best unstable. The culprit for this lies in the SRanipal initialization function, it returns an unhanded error code unique to wireless initialization. For reference, the SRanipal developer SDK outlines the following success/error codes:
And the undocumented error code is:
EDIT: Curiously, the newer versions of the SRanipal documentation do acknowledge this, but not the older versions of the documentation (anything older than 1.3.6.8.). They describe the error code as:
This was discovered as part of my contributions to the VRCFaceTracking SRanipal module. Here is the source code for how we are handling this error:
TL;DR, Resonite needs to retry initializing SRanipal when this error is raised, until it succeeds or a set number of attempts are exceeded, rather than just giving up after the first attempt.
To Reproduce
1) Start Resonite using a Vive Wireless compatible headset. This can be the Vive, Vive Pro, Vive Pro Eye, or a Vive Pro 2 with a facial tracker installed (Please note the version of SRanipal does not contribute to the issue above) 2) Wait for Resonite to load 3) Observe lip tracking initialization is unstable (Using a Vive Pro Eye's eye tracking seems to exacerbate this issue, due to the eye tracking data requirement)
Expected behavior
Vive Wireless initializes face tracking consistently.
Screenshots
N/A
Resonite Version Number
2024.6.24.1317 - Latest
What Platforms does this occur on?
Windows
What headset if any do you use?
Vive, Vive Pro, Vive Pro Eye, Vive Pro 2
Log Files
N/A - Logs are not produced during the recreation of this issue
Additional Context
N/A
Reporters
dfgHiatus euphieeuphoria