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
[Regarding macOS Tahoe](Updated September 18, 2025)

We cannot guarantee the compatibility of the current releases of Live2D Cubism Editor and Cubism SDK with macOS Tahoe.
We advise against upgrading your macOS at this time as it may cause Live2D products not to function correctly.

Upgrading macOS can also cause you to lose your Cubism Editor license file.
Please make sure to deactivate your Cubism Editor license before upgrading the macOS.

For more details:
https://help.live2d.com/en/other/other_09/
For inquiries regarding issues with license purchases or license activation errors, please contact us through the email form.

CubismModelSettingJson can't read file

Hello. I'm pretty new to c++ development and I try to port Live2D native opengl framework to Qt Quick/Qml (also tried widgets).

I've managed to create cmake project, compile and run it, but right away after startup there is an issue with json reading - all values are empty.

I've played around and figured out that it works if I try to read model before initializing Qt application (by creating QGuiApplication instance) but fails if I try to read it afterwards, even though I pass the same arguments as can be seen in debugger, I've added screenshots with code samples here

I tried to follow invocation chain and last thing that looks different is the endPos variable inside of method CubismJson::ParseBytes, when parsing works properly it has the same number as count of bytes in file, but if it fails it becomes 1441 instead of 1736. Maybe application starts to treat encoding differently? Is it possible with c++ to change such things in runtime? Any ideas what else might cause this issue? I can attach my project if someone is interested in reproducing it

I'm using CLion on Ubuntu Linux 22. I was able to run sample project without any issues.

Comments

Sign In or Register to comment.