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
[About macOS Sonoma 14.0] (update 10/17/2023)
The current compatibility status with released Live2D Cubism products is as follows:
[supported]Live2D Cubism Editor version 5.0.01 and later
[not supported]Live2D Cubism Editor version 5.0.00 beta1 and earlier,Other Live2D Cubism products, including Live2D Cubism SDK.
Please refrain from upgrading the macOS as they may not work properly.
The Cubism Editor license file may be lost after the macOS upgrade.
Please make sure to deactivate the Cubism Editor license before upgrading the macOS.
For more details

¿how can I load animations at runtime in Unity using StreamingAssets? Pls help T-T

The Cubism SKD manual for unity teaches you how to load a model at runtime using streamingassets. Now my question is: ¿how can I load animations at runtime in Unity using StreamingAssets? Sorry for my poor skills of english.
Tagged:

Comments

  • Hello, @taby
    Thank you for your contact.
    This is Live2D Support.

    To generate an AnimationClip from .motion3.json at runtime, load .motion3.json with CubismMotion3Json.LoadFrom() in the same way as loading the model, and then call CubismMotion3Json.ToAnimationClip().
    However, Unity does not allow runtime-generated AnimationClips to be used with the Mecanim or Playable APIs.
    If you want to use a runtime-generated AnimationClip, you need to play it using Unity's Animation component.

    Thank you.
  • Hello, @taby
    Thank you for your contact.
    This is Live2D Support.

    To generate an AnimationClip from .motion3.json at runtime, load .motion3.json with CubismMotion3Json.LoadFrom() in the same way as loading the model, and then call CubismMotion3Json.ToAnimationClip().
    However, Unity does not allow runtime-generated AnimationClips to be used with the Mecanim or Playable APIs.
    If you want to use a runtime-generated AnimationClip, you need to play it using Unity's Animation component.

    Thank you.

    Could you give an example of a finished code? I'm trying to get there using this answer as a reference but it still doesn't work.

    Thank you for your prompt response to the previous question.
  • Hello, @taby

    We cannot answer specific implementation questions.
    For more information about the Animation component, please refer to the official Unity documentation.

    Best regards.
Sign In or Register to comment.