Misaki I have sent a fix to this crash.
Hopefully it helps!
EsotericSoftware/spine-runtimes2761
ferdyslab

- 26 Feb
- Joined May 11, 2024
I've managed to get the crash log for this bug. I hope this helps.
ERROR: Can't retrieve singleton 'EditorInterface' outside of editor. at: (core/config/engine.cpp:298) ERROR: Parameter "singleton_obj" is null. at: godot::EditorInterface::get_singleton (godot-cpp\gen\src\classes\editor_interface.cpp:68) ================================================================ CrashHandlerException: Program crashed with signal 11 Engine version: Godot Engine v4.3.stable.official (77dcf97d82cbfe4e4615475fa52ca03da645dbd8) Dumping the backtrace. Please include this when reporting the bug to the project developer. [1] error(-1): no debug info in PE/COFF executable [2] error(-1): no debug info in PE/COFF executable [3] error(-1): no debug info in PE/COFF executable [4] error(-1): no debug info in PE/COFF executable [5] error(-1): no debug info in PE/COFF executable [6] error(-1): no debug info in PE/COFF executable [7] error(-1): no debug info in PE/COFF executable [8] error(-1): no debug info in PE/COFF executable [9] error(-1): no debug info in PE/COFF executable [10] error(-1): no debug info in PE/COFF executable [11] error(-1): no debug info in PE/COFF executable [12] error(-1): no debug info in PE/COFF executable [13] error(-1): no debug info in PE/COFF executable [14] error(-1): no debug info in PE/COFF executable [15] error(-1): no debug info in PE/COFF executable [16] error(-1): no debug info in PE/COFF executable [17] error(-1): no debug info in PE/COFF executable [18] error(-1): no debug info in PE/COFF executable [19] error(-1): no debug info in PE/COFF executable [20] error(-1): no debug info in PE/COFF executable -- END OF BACKTRACE -- ================================================================
The game will crash if you run the game that has a scene with a SpineSprite with a skeleton data and Debug>Visible Collision Shapes is enabled
Step by step recreation
- Create a spine project with a single bone and an image
- Export the project and load it in a Godot project with Spine GDExtension
- Load the skeleton into a scene
- Enable Debug>Visible Collision Shapes in the top left of Godot editor
- Run the game, and the game will crash
Example Project :
- Spine : objectexample.zip22kB
- Godot : test-spine.zip3MB
Spine version 4.2.39
Godot version 4.3
Using spine-godot GDExtension for Godot 4.3Thank you for fixing it! I really appreciate was really fast it to fix it, thanks again!
Thanks for the response! I have sent the mail of the reproduction project.
When I tried to use the physics constraint, the gravity is going up instead of down when imported to Godot.
Step by step recreation
- In Spine, Create a bone with physics constraint
- Set gravity to 100
- Export and load it into Godot
- When spawned or played in Godot editor, the bone goes up instead of down
Example project
- Spine : gravityspineproject.zip12kB
- Godot : gravitygodotproject.zip14kB
Spine version 4.2.20
Godot version 4.2.2