Using pack problem
semgilo -u "Spine 4.1.17 Enterprise"
The parameter of the -u
option is wrong, it should be only "4.1.17"
not "Spine 4.1.17 Enterprise"
.
"$SPINE_EXE" -u "4.1.17" -i images -o ./pack -n spineboy-ess -p ./pack.json -j ./spineboy-ess.spine
@semgilo After correcting the above parameter, unfortunately I could not reproduce any issue with your above pack.json
and export.json
files. When exporting the binary skeleton without an atlas and separately exporting the atlas using the pack.json file, then placing all separately exported assets in the same directory in Unity, everything was imported correctly. Nothing displayed incorrectly. What exact steps did you perform that led to your problem?
By the way, you can use three backticks "```" around code for a multi-line block of code, as your above posting looks as if every single line was enclosed with single backticks "`".
Spine's CLI parameters are configuration, then an action. You can have multiple actions:
[config for action] [action] [config for action] [action]
Your command line is:
-i images -o ./pack -n spineboy-ess -p ./pack.json -j ./spineboy-ess.spine
The first action is that you pack:
-i images -o ./pack -n spineboy-ess -p ./pack.json
Then you specify -j
, which is short for --project
and gives the packer context so it can pack meshes intelligently. However, there is no action after the configuration:
-j ./spineboy-ess.spine
If you want the project context for your packing, it must come before the pack action -p
:
-i images -o ./pack -n spineboy-ess -j ./spineboy-ess.spine -p ./pack.json