This is occurring because the R3 fix added a process to restore parameter values to the CubismModel. After manipulating a parameter value in Inspector and updating the vertex information, it was restored with the value previously stored by CubismParameterStore, so the Inspector slider did not reflect the result of the manipulation. This will be fixed in the next SDK.
if (didParametersChange)
{
var parameterStore = (target as Component)?.GetComponent<CubismParameterStore>();
if (parameterStore != null)
{
parameterStore.SaveParameters();
}
(target as Component)
.FindCubismModel()
.ForceUpdateNow();
}
Comments
Thanks for using our product.
This is occurring because the R3 fix added a process to restore parameter values to the CubismModel.
After manipulating a parameter value in Inspector and updating the vertex information, it was restored with the value previously stored by CubismParameterStore, so the Inspector slider did not reflect the result of the manipulation.
This will be fixed in the next SDK.
This can be avoided by adding the following processing to the CubismParametersInspectorInspector.OnInspecotrGUI().
if (didParametersChange) { var parameterStore = (target as Component)?.GetComponent<CubismParameterStore>(); if (parameterStore != null) { parameterStore.SaveParameters(); } (target as Component) .FindCubismModel() .ForceUpdateNow(); }Best regards.