• Bugs
  • [UE4] Crash when importing binary export

  • Изменено
Related Discussions
...

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.

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

2 месяца спустя

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

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.

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!