Live2D / CubismCocosCreatorComponents

Other
4 stars 6 forks source link

cocos 打包移动端有问题,缺胳膊少腿,无法显示在ui前面 #13

Open 819950090 opened 5 months ago

819950090 commented 5 months ago

这是我用live2d官方模型,打包移动端后模型的情况,web端不会出现这样的情况,目前是暂时不支持移动端吗? img_v3_02as_1f66e3a2-c5fe-4cc0-a56c-e3385569058g img_v3_02as_3a8ec8b7-9892-44a8-aa1a-bae0aad9807g

wada-at-live2d-com commented 5 months ago

@819950090

  1. It seems that the mask is not displaying correctly in the first image. Have you checked and implemented the announcements? 第一个图像中的遮罩好像没有正确显示。你是否已经查看并执行了公告内容? https://github.com/Live2D/CubismCocosCreatorComponents/blob/develop/NOTICE.cn.md#%E8%92%99%E7%89%88%E7%BB%98%E5%88%B6

  2. The drawing order does not appear to be correct in the second image. Please adjust the state of the camera and the sorting. If the MainCamera's Projection setting is "Perspective," sorting by Back To Front Order might be appropriate. 第二个图像中的绘制顺序似乎不正确。请调整摄像机的状态和排序。如果主摄像机的投影设置为“透视(Perspective)”,则按从后到前的顺序进行排序可能更合适。

819950090 commented 5 months ago

I understand the hierarchy issue now, but when it comes to packaging, iOS packaging cannot be printed. When packaged on Android, it looks like the image above, and everything is normal on the web side. What's going on 层级问题我已经明白了,但是在打包上面,ios打包打不出来,安卓打包出来的样子就跟上面的图一样,在web端一切都正常,这是怎么回事

wada-at-live2d-com commented 5 months ago

Understood. We are also aware of the packaging issue, which affects the export on mobile devices. https://github.com/Live2D/CubismCocosCreatorComponents/blob/develop/NOTICE.cn.md#%E5%AF%BC%E5%87%BA%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%9B%B4%E6%96%B0-2023-08-17 We are currently investigating this, but the error is originating from the Cocos Creator engine, making it difficult to fix. If we cannot resolve it, we plan to contact the developers of Cocos Creator.

理解了,我们也意识到了打包问题,这会影响在移动设备上的导出。 目前我们正在调查这个问题,但由于错误来自Cocos Creator引擎,修复起来有些困难。如果我们不能解决这个问题,我们将联系Cocos Creator的开发人员。

819950090 commented 5 months ago

Thank you for your answer,have good time