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.

Live2D breaking Unity Command Line WebGL builds

We have an issue with Live2D in the WebGL build process. We tracked it down to Live2D after several weeks and it happens even in an empty project with only Live2D sample itself. Happens in Unity 2019.4, 2020.3 and possibly all others (tested using both latest and last year's SDKs)

Basically when building using Command Line ( https://docs.unity3d.com/Manual/CommandLineArguments.html ) Emscripten throws "[Error 6] The handle is invalid" and it breaks the build. Building from Editor works fine, however we require command line builds to set up the remote building process.

The basic Emscripten build log doesn't mention Live2d explicitly but it is the only asset within the project, and if you set Emscripten compilation flags to DEBUG it will show Live2d being the culprit in the linking stage. You can find the non-debug build log here: https://imdev.pl/share/d846b9d7-0327-48ce-b17f-ed44009fbffa/BuildWebGL.txt

I believe that this error might be related to this showing up during the build - I'm not sure what this is doing or what is launching it, but it is an additional process and [Error 6] is related to spawning multiple processes during build. Maybe this can just be removed and it will fix the issue?


Here is the minimal project we used to check that it is indeed an issue with Live2d - https://imdev.pl/share/d36110cb-a13c-43e0-b51e-05cc8e05f374/Live2dCLITest.zip

Run it by using the following command in the command line (change project and Unity paths accordingly)
d:\Work\Unity\2020.3.3f1\Editor\Unity.exe -quit -nographics -batchmode -buildTarget WebGL -projectPath d:\Work\Live2dCLITest -logFile D:\BuildWebGL.txt -executeMethod BuildSystem.Build_WebGL
Sign In or Register to comment.