benaclejames / benaclejames/VRCFaceTracking
Bug: ModuleInformation.UsingExpression and ModuleInformation.UsingEye are allways false
- Dominant language
- C#
- Stars
- 907
- Forks
- 135
- Avg merge
- 11h 28m
- Merged PRs (30d)
- 7
Description
Reproduction:
```c#
using Microsoft.Extensions.Logging;
using VRCFaceTracking;
using VRCFaceTracking.Core.Library;
using VRCFaceTracking.Core.Params.Expressions;
namespace TestModule;
public class TestModule : ExtTrackingModule
{
public override (bool SupportsEye, bool SupportsExpression) Supported => (true, true);
public override (bool eyeSuccess, bool expressionSuccess) Initialize(bool eyeAvailable, bool expressionAvailable)
{
var state = (eyeAvailable, expressionAvailable);
ModuleInformation.Name = "Example Module";
return state;
}
public override void Update()
{
Logger.LogInformation("UsingExpression: " + ModuleInformation.UsingExpression + " UsingEye: " + ModuleInformation.UsingEye);
Thread.Sleep(1000);
}
public override void Teardown()
{
}
}
```
**Expected Behavior**
When the module is the only one enabled and supports both eye and expression parameters, the log output in the Update() loop should be:
> UsingExpression: True UsingEye: True
**Actual Behavior**
The log output consistently shows both properties as false:
> UsingExpression: false UsingEye: false
**Environment**
- VRCFT Version: 5.4.0.1 (Steam Release)
- Operating System: Windows 11
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.