Phero

  • 3 ноя 2020
  • Регистрация: 16 окт 2020

    I'm getting the same error in Unity 2020.1.7f1

    Do I need to adjust export settings?

    • Изменено

    Here's an example of the animation running in-game using the JavaScript library.

    Here's the same animation when re-imported in Spine using Import Data:

    As you can see the red jello body is missing although it has been imported as an image:

    The reason I think it has to do with scaling is because I have another animation where the elements are not completely gone but have somehow lost their scaling settings. (I'm not the creator of these and just a programmer that wants to use these assets. So I'm not entirely sure what is going on)

    Here's another example in-game:

    Here's the same animation imported back into Spine:

    As you can see the arm, hands, hat, and eyes are way too small compared to the in-game animation.

    Here's a better look at the setup in Spine:

    Since I'm manually extracting the images from the packed png and getting the rotation, coordinates from the atlas I could potentially do some modifications to the JSON in the process if I knew what and where. I'm thinking there are some scaling settings the player code takes for granted but the Spine app doesn't when importing the JSON?

    Any help is greatly appreciated.
    Thanks.

    I as the title states.

    System specs:
    iMac Pro
    macOS Catalina 10.15.7 (19H2)
    3,2 GHz 8-Core Intel Xeon W
    32 GB 2666 MHz DDR4

    cat /Users/xxx/Library/Application\ Support/Spine/spine.log
    Spine Launcher 4.0.11
    Esoteric Software LLC (C) 2013-2020 | http://esotericsoftware.com
    Mac OS X x86_64 10.15.7
    ATI Technologies Inc., AMD Radeon Pro Vega 56 OpenGL Engine, 2.1 ATI-3.10.18
    Launching: Spine 3.2.01 Professional
    Spine Launcher 4.0.11-legacy
    Starting: Spine 3.2.01
    Spine 3.2.01 Professional, JGLFW
    Licensed to: *****, *****
    ATI Technologies Inc.
    AMD Radeon Pro Vega 56 OpenGL Engine
    2.1 ATI-3.10.18
    Started.
    

    I should add that if I start Spine with the latest engine version shortcuts work. But I need them to work in 3.2.01 as well.

    • Изменено

    I can successfully open an old json by selecting version 3.2.01 at startup and use "Import Data" from the menu.

    Unfortunately I can't get the command line version to work:
    /Applications/Spine.app/Contents/MacOS/Spine -u 3.2.01 -i ./logo.json -o ./logo.spine -r

    It just opens an empty spine window. Can you see what exactly I'm missing?

    Thanks!

    Ok, thanks!

    • Изменено

    I'm evaluating buying an old game and Spine to go with it. I'm trying to import an animation that was exported as JSON, atlas, and PNG. Some of the spine files I can import (although the images are missing, but I can fix that) - but some of the animations Spine just plain refuses to import.

    Are they lost forever?

    (Using macOS Catalina 10.15.7)

    ERROR: Error importing skeleton: 
    JSON version: 3.1.02
    Spine version: 4.0.10-beta
    [error] Error reading file: /Users/asd/Development/Games/asd/asd.json
       at s.sDm._(_:143)
       at s.iVv._(_:313)
       at s.iVv.C(_:279)
       at s.Jpy._(_:1014)
       at s.iVv.Z(_:273)
       at s.zNs.C(_:379)
       at s.VVG._(_:93)
       at s.DtJ._(_:28)
       at s.oav._(_:188)
       at s.oav._(_:158)
       at com.badlogic.gdx.scenes.scene2d.ui.Button.C(_:125)
       at s.uVP._(_:93)
       at s.SkG._(_:89)
       at s.Soq._(_:71)
       at s.TsA.C(_:355)
       at s.cOn.C(_:124)
       at s.DWI.C(_:91)
       at s.qCE._(_:87)
       at s.zna._(_:135)
       at s.Jyr.C(_:230)
       at s.DFi.C(_:138)
       at s.Xns.run(_:200)
       <events>
    Cause: s.imY: Error reading attachment: body, skin: default
       at s.wOW._(_:291)
       at s.sDm._(_:135) ...
    Cause: [arg] No enum constant s.Gzt.weightedmesh
       at java.lang.Enum.valueOf(Unknown Source)
       at s.Gzt.valueOf(_:32)
       at s.wOW._(_:349)
       at s.wOW._(_:288) ...
    
    
    • Изменено

    I'm about to buy the IP of an old game and would like to know if the following is possible.

    The project doesn't include the original Spine files but only the exported JSON, atlas, and PNG files.

    When I try to import those in Unity 2020 with the latest runtime for Unity I get the following error:
    Error importing skeleton 'player': Skeleton data could not be loaded. Data version: 3.1.02. Required version: 3.8.

    If I buy the full version of Spine would I be able to upgrade the old exports to a new usable version?
    And since it's a lot of assets I'd also like to know if it can be automated via command line.

    Thanks a bunch!