• Editor
  • Having minor trouble with mask

Hello! So, not much of a description here, has anyone encountered/ or knows why this glitch happens?

  • Davide ha risposto a questo messaggio
    Related Discussions
    ...

    It seems like you are experiencing a glitch related to masking in Spine. Masking issues can often be related to the specific setup of your project or a bug in the runtime you are using. From the contexts provided, there have been various reports of mask-related glitches across different runtimes and platforms, such as Cocos2d-x and Unity. These issues are sometimes resolved by updating to the latest version of the Spine runtime or by adjusting the mask settings in your project. If the problem persists, it might be helpful to provide more details about your setup, such as the version of Spine and the runtime you are using, or to share a minimal reproduction project with the Spine team for further investigation.

    MWendt

    Hello 🙂

    Is this happening within the Spine Editor or in a specific runtime?

    • If it's the Editor, could you share the version you're using and how you've set up your clipping attachments? It would be much easier for us to assist you if you could send us your project or a minimal reproduction project at contact@esotericsoftware.com.

    • If it's a specific runtime, please provide the runtime version, the Spine exported assets version, and a minimal code snippet to reproduce the issue. If you can't share the code here, it would still be extremely valuable for us to support you if you could send it to the same email above.

    It's not within the editor, it's after implementation of the programmer, I' don't know much about his side, only that he uses pixiJS v8, my spine is up to latest version 4.2.40, i can send the project through email

    • Davide ha risposto a questo messaggio

      MWendt

      It's vital to know the runtime version. We faced a similar issue in the past, but it should be solved with the latest runtime version.

      If you send us the exported assets, I can verify if the latest spine-pixi-v8 version has issues with your clipping attachments.

      Ideally it would be better to discuss directly with the programmer because you are having problem at runtimes side 🙂

      dumb question, whats the runtime version? (thought the v8, and 4.2.40 were the repective answers to that ^^')
      I can relay the questions to him for sure, it just may take a little longer, but for sure we'll get to the solution

      • Davide ha risposto a questo messaggio

        4.2.40 is an editor version. You should be using the 4.2 runtime with exports from a 4.2.xx editor. That means to use the runtime from the 4.2 branch on Github:
        EsotericSoftware/spine-runtimestree/4.2

        MWendt

        To make spine animations work in PixiJS, you need a library or plugin. If you're using PixiJS v8, you're likely using @esotericsoftware/spine-pixi-v8.

        I want to make sure you're using the latest version of the library, which is currently 4.2.76. Previous versions had issues with clipping masks, but these should now be resolved.
        We also need to confirm that you're not using @pixi/spine-pixi, which is an archived fork of the library.

        Additionally, it would be helpful to know the PixiJS version you're using. For example, the minimum supported version of PixiJS v8 for our library is 8.4.0, as noted in our documentation.
        The latest PixiJS version is 8.8.1, as listed here.

        If you're using a 4.2.40 exported asset, a compatible version of PixiJS, and the latest version of our official runtime library (spine-pixi), but the issue persists, we’ll need your Spine assets and reproduction steps to debug it. You can send your assets privately to contact@esotericsoftware.com.