FeedMyData

Hi,

We're currently trying to upgrade our unity project. After updating to a new Unity version, we got a prompt error thrown regarding spine:
"Skeleton data could not be loaded. Data version : 3.8.555. Required version: 4.0."
Sadly Unity is not pointing us to the problematic file.

We've upgraded from Spine 3.8 to 4.0 a while ago. We've changed the Spine unity package in consequence and reimported all our files. We never had an issue till now.
Maybe there is still one file in our project that isn't upgraded, but we don't know which one.

All our spine files in our project are in binary. In contrary of json files that we could open to read a version number, we don't know how to get this info easily with skel.bytes files. Is it even possible? (no is an ok answer ^^)

Thanks,

---

EDIT : We've found the guilty file, but i'm still curious to know if it's possible to get this info :)
Avatar utente
FeedMyData
  • Messaggi: 32

Nate

The first 8 bytes of the binary are a hash, after that is the version as a string stored as a varint then the characters. There is code to read this in the SkeletonBinary class in every runtime.

You can also see the version with a hex editor (or text editor):
Avatar utente
Nate

Nate
  • Messaggi: 12024


Torna a Unity