Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[godot] Editor crash when loading a scene with non-existent animation set as preview-animation #2735

Open
paskausks opened this issue Jan 20, 2025 · 0 comments

Comments

@paskausks
Copy link

Hey!

When in you open a godot tscn scene file where you have a SpineSprite which has the preview_animation property set to an animation name that doesn't exist, the editor will crash.

Easiest way to repro this is to just go into the TSCN scene file and change the preview_animation property to some garbage, and then open that scene from the godot editor. That'll cause a crash and a core dump on both linux and windows. Tested on Godot Engine v4.3.stable.custom_build (77dcf97d82cbfe4e4615475fa52ca03da645dbd8) (custom spine runtime godot build).

I think it should just rather set the preview_animation to -- Empty -- (but not write the scene file) and probably just write an error/warning to the console/debugger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant