Daylily-Zeleen / Godot-DragonBones

A GDExtension plugin of DragonBones for Godot 4.x
MIT License
62 stars 5 forks source link

Editor crashes when resize `texture_atlas_json_file_list` of `DragonBoneFactory`. #19

Closed JekSun97 closed 1 week ago

JekSun97 commented 2 weeks ago

If we select DragonBones from the demo, go to the Factory section, click on the texture_atlas_json_file_list array, then click on the field with the resource path, for example where res://assets/Bicycle_tex.json, then click on the button with the folder or try to increase the amount of the array, the editor closes

https://github.com/Daylily-Zeleen/Godot-DragonBones/assets/130399274/a8f8ee2c-592b-47f7-8e7a-344306a5572d

Godot v4.2.2.stable - Windows 10.0.19045 - GLES3 (Compatibility) - Radeon RX 560 Series (Advanced Micro Devices, Inc.; 31.0.14001.45012) - Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 Threads)

Daylily-Zeleen commented 2 weeks ago

I can't reproduce with following your steps. Please provide MRP.

I notice that your DragonBones node has not icon, it seems that you are still using the old version. Please update the plugin and try again.

JekSun97 commented 1 week ago

@Daylily-Zeleen Indeed, this error does not exist in the latest version

JekSun97 commented 1 week ago

No, I was still able to reproduce this problem in the new version.

  1. Open the dbfactory resource. 2: In the inspector, click the texture_atlas_json_file_list array, then on the path input field, click any other button, for example array size
Daylily-Zeleen commented 1 week ago

Fix by this commit.