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
[INFORMATION](4/11/2024)
Cubism Editor 5.1 alpha2 is now available!

We have incorporated some of your comments and suggestions. Thank you for your comments and requests!
We will continue to welcome your feedback on alpha2.

Download/ Manual and Update History

Eyes and mouth of the Live2D model remained open.

edited December 2023 in Help
Unity 2017.3.0 f 3
Cubism 3.1 SDK for Unity
We are using.

In the following procedure we set automatic blinking and lip sync.

Automatic blink setting
http://docs.live2d.com/cubism-sdk-tutorials/eyeblink/

Lip sync setting
http://docs.live2d.com/cubism-sdk-tutorials/lipsync/

It worked correctly for a while.
But when I noticed the eyes and mouth of the Live2D model remained open.
I think it was about 30 minutes to an hour, but it may be related to rebooting the development environment and so on.

If we delete CubismEyeBlinkController and CubismMouthController from the Inspector and add them again with Add Component, the eyes and mouth will again open and close as expected.

However, in order to do this automatically, we did not add component on Inspector,
This is not improved if we add components in the script. The eyes and mouth of the Live2D model will remain open. The script is as follows.

-
CubismEyeBlinkController = gameObject.AddComponent ();
CubismEyeBlinkController.BlendMode = CubismParameterBlendMode.Override;

CubismAutoEyeBlinkInput = gameObject.AddComponent ();
CubismAutoEyeBlinkInput.Mean = 4;
CubismAutoEyeBlinkInput.MaximumDeviation = 2;

CubismMouthController = gameObject.AddComponent ();
CubismMouthController.BlendMode = CubismParameterBlendMode.Override;

CubismAudioMouthInput = gameObject.AddComponent ();
CubismAudioMouthInput.AudioInput = gameObject.GetComponent ();
CubismAudioMouthInput.Gain = 10;
CubismAudioMouthInput.Smoothing = 1.0 f;
-

Does anyone know the cause of this?
Also, how have you been solved?

Comments

  • Sorry. I have to use HTML for <> .
    Preview is not work...=(
    --
    CubismEyeBlinkController = gameObject.AddComponent<CubismEyeBlinkController>();
    CubismEyeBlinkController.BlendMode = CubismParameterBlendMode.Override;

    CubismAutoEyeBlinkInput = gameObject.AddComponent<CubismAutoEyeBlinkInput>();
    CubismAutoEyeBlinkInput.Mean = 4;
    CubismAutoEyeBlinkInput.MaximumDeviation = 2;

    CubismMouthController = gameObject.AddComponent<CubismMouthController>();
    CubismMouthController.BlendMode = CubismParameterBlendMode.Override;

    CubismAudioMouthInput = gameObject.AddComponent<CubismAudioMouthInput>();
    CubismAudioMouthInput.AudioInput = gameObject.GetComponent<AudioSource>();
    CubismAudioMouthInput.Gain = 10;
    CubismAudioMouthInput.Smoothing = 1.0f;
    --
  • I repeated attaching and detaching CubismEyeBlinkController, CubismAutoEyeBlinkInput, CubismMouthController, CubismAudioMouthInput on the inspector. Then, this trouble does not occur.

    I saw several CubismEyeBlinkController and CubismMouthController being attached during this work. That may have been the cause of this trouble.

    Sorry to bother you.
Sign In or Register to comment.