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

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.


Sign In or Register to comment.