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

crash in live2d+cocos2d demo

edited June 2015 in Archive
crash in cocos2dx3.5+live2d2.0 ,when run deom(simpleApp1) in window .what can I do?
code:
void LAppLive2DManager::addModel(){
//if (_cur_order > 9){
// return;
//}
//auto newM = new LAppModel();
/ar fileName[64];
//sprintf(fileName, "haru_%02d.model.json", _cur_order+1);
//newM->load(MODEL_HARU_DIR, fileName);
//models.push_back(newM);

//_cur_order++;

auto newM = new LAppModel();
newM->load(MODEL_HARU_DIR, MODEL_HARU_C);
models.push_back(newM);
}

I added a button to run this, but after touch button, error happen right now or later;

but run this code in android is not crash.
Sign In or Register to comment.