guansss / pixi-live2d-display

A PixiJS plugin to display Live2D models of any kind.
https://guansss.github.io/pixi-live2d-display/
MIT License
898 stars 137 forks source link

模組數目導致不動問題 #87

Open Cpk0521 opened 1 year ago

Cpk0521 commented 1 year ago

當我使用Live2DModel.from(xxx) 去生成多於六個live2d model時 就只有最後一個生成的model能夠正常動 其他的都會卡死 model動作做到一半也會停了下來 即使再用motion()等method 也無法動 另外只是在背景生成(一開始沒有加到Container) 在之後再加 也是無法動 但小於或等於六個就很正常

是有呼叫上限什麼的嗎? 還是只是性能問題而有所影響?

guansss commented 1 year ago

抱歉回复晚了,这个其实是早期的已知问题,但是一直无法修复,因为 Cubism Core 是用 Emscripten 生成的,没法调试,难以定位问题的根源 不过官方的 demo 没有这个问题,所以理论上还是可以修复的,之后我会尝试一下,但时间可能会比较久