Konata09 / Live2dOnWeb

Add Live2D widget in your website. Support Cubism 2, 3, 4
https://rivens.bronya.moe
53 stars 12 forks source link

Error with specific Cubism 3 models #6

Open Xprogrammer777 opened 3 months ago

Xprogrammer777 commented 3 months ago

Hi!

So I tested this with multiple Live2d model, it didn't work with every model. Every live2d Cubism 3 model of THIS doesn't work and throw this error

Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'time')
    at e.parse (live2d_bundle.js:1:194521)
    at e.create (live2d_bundle.js:1:188649)
    at e.loadMotion (live2d_bundle.js:1:178861)
    at live2d_bundle.js:1:303896

I did some trouble shooting by changing framerate or only load 1 motion from the character json file, it didn't work and I get the same error. I know my model aren't broken since I tested them and it work perfectly. I'm pretty sure the errors comes only after loading motion but I have no idea what is it about exactly. It's definitely a core file problem and my best guess it that my model aren't compatible since these are very "recent". I just wanted simple version of the actual Live2d web SDK. I hope this project still alive.

Thank in advance.

Dt8333 commented 16 hours ago

Seems there is something wrong with either motion file or Cubism Framework. Trying to figure why. This project seems didn't update for a short while,so i'd like to create a fork and try to make it work again.

Dt8333 commented 13 hours ago

Make a small tool to try to fix error in the model you method. Please check out if it works.

Xprogrammer777 commented 11 hours ago

I'm a bit busy lately but I will keep you updated