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 community.
※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 Ventura 13.0] (12/20/2022)
The currently released Live2D Cubism SDK is not guaranteed to work with macOS Ventura.
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
[NOTICE]
About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to System Requirements for details.
We will not respond to any related inquiries with this message.

Unity and Live2D SDK compatibility

I'm practicing making live2d viewer with Unity 5.6.6 and SDK 2.1
Are they compatible with each other?

Comments

  • edited July 2018
    Hi I already figured out that it is compatible so I will change my question a little

    I'm using create live2d canvas option like the tutorial but keep getting the error NullReferenceException: Object reference not set to an instance of an object
    at line 42 and 61

    these lines are:
    void OnRenderObject()
    {
    if(!isVisible) return;
    if(model==null)return;

    if(model.GetLive2DModelUnity().getRenderMode() == Live2D.L2D_RENDER_DRAW_MESH_NOW)
    {
    model.Draw();
    }

    if (LAppDefine.DEBUG_DRAW_HIT_AREA)
    {

    model.DrawHitArea();
    }
    }


    void Update()
    {
    if(!isVisible) return;
    if (model == null) return;

    model.Update();
    if (model.GetLive2DModelUnity().getRenderMode() == Live2D.L2D_RENDER_DRAW_MESH)
    {
    model.Draw();
    }
    }

    what can I do to fix this, everytime I tick the box LAppModelProxy script, this error keeps appearing and then the script got untick
  • Hi,

    This error seems to happen since the model has not been imported properly. It would better to check if relative path in model.json is correct.

    thanks,
Sign In or Register to comment.