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](6/25/2024)
Cubism Editor 5.1.00 beta1 is now available!

We have incorporated some of the feedback we received from those who tried the alpha version.
Thank you very much for your comments and requests!
All alpha versions will soon be closed to the public and will no longer be available.
Also, the Cubism Editor 5.1 alpha category will be closed, so please send your comments and requests to the Cubism Editor category.
Options

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

  • Options
    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;
    --
  • Options
    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.