Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello, I tried to replace Live2D with my custom model, but an error occurred. Is there a way to resolve it? #12

Open
dd1a2v3i4s5t opened this issue Sep 25, 2024 · 8 comments

Comments

@dd1a2v3i4s5t
Copy link

After replacing it with my custom model, when it loads, the error appears in cubism4.min.js as this.renderer._clippingManager._currentFrameNo = e. The error is: Uncaught TypeError: Cannot set properties of undefined (setting '_currentFrameNo'). How can I fix this?

@RaSan147
Copy link
Owner

Which version of live2D model is it??

@dd1a2v3i4s5t
Copy link
Author

I am using Live2D Cubism Editor 5.0 for creation and SDK 4.0.
https://drive.google.com/file/d/1nhgo7PZ4XLjliZUZJzKDPyIYyuijFrHF/view?usp=sharing

這是哪個版本的live2D模型?

@RaSan147
Copy link
Owner

RaSan147 commented Sep 26, 2024 via email

@dd1a2v3i4s5t
Copy link
Author

So, do I need to use Live2D Cubism Editor 5.0 for creation and SDK 5.0? But when I initially used SDK 5.0, errors still occurred. It was only when I tested with the official example from the website that it displayed correctly, and the official one uses SDK 4.0. However, for the model I created, errors occur regardless of whether I use SDK 4.0 or 5.0.

@RaSan147
Copy link
Owner

RaSan147 commented Sep 26, 2024 via email

@RaSan147
Copy link
Owner

Also the cmo3 file you've sent me, it won't load

You need to compile its output with json data and moc3 files.

You need to connect with the json file.

@dd1a2v3i4s5t
Copy link
Author

dd1a2v3i4s5t commented Sep 26, 2024

I'll try to find an editor version lower than Live2D Cubism Editor 5.0 and rewrite it again. Additionally, I have attached the full example in the link below, but the error message still appears.

Who should I seek help from when encountering the above issue?

https://drive.google.com/file/d/1efupjl8Kuxd06zSy6fE9V7jx6c76XcPE/view?usp=sharing

@RaSan147
Copy link
Owner

as weird as it can be, if i resize window, your model shows up

if i hide (display none) and re-show it, it works fine.
but my other models are working just fine. weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants