• RuntimesUnity
  • unity-spine toolkit

  • تم التحرير

unity 在使用 uitoolkit 时 spine 运行出来的效果不对, 有的效果没出来。
unity 版本 6000.0.20f1
spine 版本 4.2.37 Professional

Related Discussions
...

在使用 Unity 的 UI Toolkit 时,如果 Spine 的效果没有正确显示,可能是由于以下原因:

  1. Spine 版本和 Unity 版本不兼容:确保您使用的 Spine 版本和 Unity 版本是兼容的。可以通过更新到最新的 Spine 和 spine-unity 运行时来解决一些已知问题。

  2. 渲染设置问题:检查 Spine 的渲染设置,确保它们与 Unity 的 UI Toolkit 兼容。可能需要调整材质或着色器设置。

  3. 动画导入问题:确保 Spine 动画在导入 Unity 时没有丢失任何关键帧或设置。检查导入设置,确保所有必要的文件(如 .atlas.txt.skel.bytes)都正确导入。

  4. 调试日志:查看 Unity 控制台中的任何错误或警告信息,这些信息可能会提供有关问题的更多线索。

如果以上方法无法解决问题,建议逐步排查每个可能的原因,确保每个步骤都正确配置。

    testspine.zip
    2MB

    这是我的步骤
    问题时 我用传统的UGUI 和直接的SkeletonAnimation 运行是没有问题的

    Spinebot
    见我的最新回复,有案例

    @CodeWu Sorry to hear you're having troubles. Unfortunately the Spine UI Toolkit Extension package does not support any blend modes yet, not even additive blend mode. This is because UITK does not yet support setting custom shaders.

    I've added a line to the readme file of the package to mention this limitation:
    EsotericSoftware/spine-runtimestree/4.2/spine-unity/Modules/com.esotericsoftware.spine.ui-toolkit/Documentation#limitations

      Harald I got it , ths a lot.