I got a problem using spine version with unity.

  • I got a cloud, in spine preview it is not bordered, but its bordered black when import to unity. I use the default setting in spine, using PMA and only drag - drop to unity. Can anyone resolve it ?
  • Misaki님이 이에 답장했습니다.
    Related Discussions
    ...

    mvp08991 Could you please check if Project Settings - Player - Other Settings - Color Space is set to Gamma? If you created the project with a relatively new version of Unity, the default color space may be Linear, so if you imported the project with the default, the color space may not be correct.
    By the way, if something is not configured correctly, you should see a warning on the component you used to instantiate the skeleton (such as SkeletonAnimation). Please check if there are any warnings.

    There is no warning, i have checked the color space. I change from linear to gamma. But i do not detect any change. Still have that line

    I detect that there is a black line surrounding the cloud in the texture2d when import to unity when i set alpha is transparency. Is the problem comes from spines or importing

    • Misaki님이 이에 답장했습니다.

      mvp08991 It is correct that Alpha Is Transparency is disabled in the settings for PMA textures, as described in the "Advanced - Premultiplied vs Straight Alpha Import" section of the documentation:
      https://esotericsoftware.com/spine-unity#Advanced---Premultiplied-vs-Straight-Alpha-Import

      However, it is weird if it was just imported your skeleton data files and then Alpha Is Transparency was enabled, since it should be automatically set to disabled by default when importing with the default settings. Or did you mean that you enabled it manually?

      yeah, but i think the black lines comes from the sprite i use for the spine. I think that

      • Misaki님이 이에 답장했습니다.

        mvp08991 I am afraid I am not sure what your problem is. If you don't mind, could you please email us a Spine project that contains the cloud image so that we can see the actual problem: contact@esotericsoftware.com
        Please include the URL of this forum thread in the email so we know the context. Then we can take a look at what's wrong.

        mvp08991 Thank you for sending us your Spine project! Before I mention the border issue, I just want to let you know that you are using spine-unity 3.8 and this version only supports up to Unity 2020.3. Please note that it does not support Unity 2022.1.
        3.8 is already a very old version and you should consider upgrading to a newer version.

        Regarding the black border issue, I imported the skeleton file you sent us into a new Unity project and instantiated it into a scene, but I could not reproduce it:

        So I assume there is something wrong with your textures or material settings in your Unity project. Please review the documentation: https://esotericsoftware.com/spine-unity#Importing-Spine-Assets-into-Unity

        If you still cannot find the cause of the problem, please send us a minimal Unity project that can reproduce the problem: contact@esotericsoftware.com

        just a problem, is it oke in the white border ?

        • Misaki님이 이에 답장했습니다.

          I also use skeleton graphic, not skeleton animation

          mvp08991

          just a problem, is it oke in the white border ?

          I'm afraid I cannot understand what you mean by that. What does "the white border" refer to?

          I also use skeleton graphic, not skeleton animation

          I have also tried instantiating the skeleton with SkeletonGraphic, but I cannot reproduce the black border problem. If you still can't determine the cause of the problem on your end, please send us a minimal Unity project that can reproduce the problem.