[About macOS Sequoia] (Updated October 22, 2024)
Live2D Cubism Editor 5.1.02 now supports macOS Sequoia.
Other Live2D Cubism products currently released are not guaranteed to work on macOS Sequoia.
Please refrain from upgrading macOS, as it may not operate properly.
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?
0 ·
Comments
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
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,