Nick

I got a project that doesn't import correctly in Unity in binary format.
It share the same export.json with other projects during batch export so I don't think it is a setting issue.

Btw, the error message is confusing, I opened the .bytes file and it doesn't look like a text file at all. Better scan the file 1st before claiming its a text/json file.
Failed to read 'Kingdom_Pub_Doggo.skel'. Extension is '.skel.bytes' but content looks like a '.json' file.
Did you choose the wrong extension upon export?
P.S. using the latest 4.0 beta runtime.
添付ファイルを見るにはパーミッションが必要です
Nick
  • 記事: 274

Harald

Sorry for the trouble and thanks again for reporting! The json vs binary heuristic went wong, a bugfix has just been pushed to the 3.8 and 4.0-beta branches.

New 3.8 and 4.0-beta spine-unity unitypackages are available for download here as usual:
Spine Unity Download

Issue ticket for reference:
https://github.com/EsotericSoftware/spine-runtimes/issues/1867
アバター
Harald

Harri
  • 記事: 3479

Maya S

Still doesn't work for me with "spine-unity-4.0-2021-03-31-beta" package :(
"IsJsonFile" method in SkeletonDataCompatibility.cs returns true, because numCharsToCheck is always 0.
Maya S
  • 記事: 1

tvsstv

Still have this problem with 3.8package 3-24 :sucks: :sucks:
tvsstv
  • 記事: 2

Harald

We are sorry for the inconvenience and thanks for reporting. In general please always provide a problematic asset that leads to the problem up front, otherwise days will pass unnecessarily until we can reproduce the issue. (In this case it was most likely locale-related, as it could not be reproduced with the asset provided on the github issue ticket, but this is a rare exception).

We have just pushed a fix for this issue, new 3.8 and 4.0-beta spine-unity unitypackages are available for download.
アバター
Harald

Harri
  • 記事: 3479


Return to Bugs