Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial

unity Parameter slider bug?

Comments

  • Hello @Ikedada ,

    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.
Sign In or Register to comment.