YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

In-Game: [Spine] Silent crash when loading old Spine 2D animation #7477

Open gm-bug-reporter[bot] opened 2 months ago

gm-bug-reporter[bot] commented 2 months ago

Description

When loading animations from Spine versions below 4, the application simply closes. The call stack shows that the crash occurs at spSkeletonJson_readSkeletonData.

I tried loading less complex animations, and it just logs an error about reading the timeline. Ideally, it should not attempt to load it at all and should check the version first.

Solution: Display an error indicating that the animation version is not supported or simply return -1.

Steps To Reproduce

Run the attached project.

Which version of GameMaker are you reporting this issue for?

IDE v2024.800.0.609 Runtime v2024.800.0.636

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

b6898e48-8c73-48cc-8cbb-665194b947e6

yevhenii-sir commented 2 months ago

@yoyo-danielc If possible, please include this fix in the 2024.8 updates, if such updates are planned.