• RuntimesBugs
  • Spine player "Assets could not be loaded."

sharkk
Yes, it should be what ever branch you got the Spine player from. Do you have the original Spine files? JSON export would be much easier for human to locate the problematic bone(s).

  • sharkk ответили на это сообщение.
    Related Discussions
    ...

    SilverStraw How would i go about turning the skel file into a json? Do i download spine and load then export again or do i have to use something else?

    • SilverStraw ответили на это сообщение.

      sharkk
      You can try to import the skel file into Spine but the version have to match for each. The skel file had to have been exported with non-essential data or it won't import I believe.

      • sharkk ответили на это сообщение.

        SilverStraw Yeah, the files' version doesnt match with the current spine, do you know if theres any other way to convert the skel into json? Ive tried loading it with another package called pixi-spine (The character doesnt load with that either) and i've logged the skeleton to json, it has an array of bones, etc.

        Would that be useful?

        You can run the old version of the Spine editor, import, save the .spine project file, run the new version of the editor, and export. This can also be done via the command line, eg if you have many files.

        • sharkk ответили на это сообщение.

          Nate Sorry for all these deleted questions.. I managed to solve it.

          But one last thing, why is the quality of the animation so bad?

          animation-badquality.mp4
          6MB

          Here's how it should look (recorded from another website)

          animation-normalquality.mp4
          627kB

          I guess you mean the quality of the lightning bolt. I can't really say. Does it look right in the Spine editor?

          • sharkk ответили на это сообщение.

            Nate Yeah, ive also tried other files and its always the same issue, in other places it looks just fine

            Did you export with pre-multiplied alpha? What is your pre-multiplied alpha setting for the player?

            • sharkk ответили на это сообщение.

              Mario They were not exported with pre-multiplied alpha, I've read that it comes enabled by default in spine player, how can i disable it?

              • sharkk ответили на это сообщение.

                sharkk Nevermind, adding premultipliedAlpha: false to the player constructor worked perfectly.

                Thanks a lot to all of you who helped me here 🙂

                • Nate оценил это.