aleksanderniedoba

Hi!

I am occuring a crash when trying to import binary exported file. I have latest version of spine editor and latest version of a plugin from git repository. Reproducing it with attached SpineUE4 uproject. Files exported with older editor's version do not cause a crash, there's just a prompt that they were created with older version. Anyway in this case spine data assets are empty.
Json animations seems to work well.

---

I'm not sure if its a proper solution but i found that you are checking in one place before calling updateRegion function if _region isn't null. After i added this condition to
SkeletonBinary::readAttachment
->
if (sequence == NULL && region->_region != NULL) region->updateRegion();
seems to fix this problem and assets are added properly to the project.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
aleksanderniedoba
  • Beiträge: 1

Mario

Please post your .skel, .atlas, and .png files.
Benutzeravatar
Mario

Mario
  • Beiträge: 3242

Accord

Hello. Im getting crash on same circumstances. This is plane raptor-pro example exported in binary format. Im adding asset files and crash screenshot.
Spine: 4.1.0.8
UE: 5.0.3
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Accord
  • Beiträge: 7

Mario

Please make sure you copied the latest spine-cpp runtime to your UE project. The exports you posted load fine with the spine-cpp 4.1, on which spine-ue is based.
Benutzeravatar
Mario

Mario
  • Beiträge: 3242

Accord

Confirmed!
Just recompiled cpp project in VS and drag'n'drop .skel import now working. Not sure why it wasn't before, maybe I've done compilation wrong somehow.

Thank you, Mario!
Accord
  • Beiträge: 7


Zurück zu Bugs