vnen / godot-tiled-importer

Plugin for Godot Engine to import Tiled Map Editor tilemaps and tilesets
MIT License
850 stars 87 forks source link

Error messages while opening imported tileset #112

Open drtwisted opened 5 years ago

drtwisted commented 5 years ago

Plugin version

Plugin version: master ATM Tiled version: 1.2.3 Godot: v3.1-stable

Issue description

I have issues opening tileset (*.tsx) with 3.1. After a long freeze of UI the tileset editor is opened at the bottom, but is not usable: tile_set_editor Lots of error messages are being generated:

ERROR: push_call: Message queue out of memory. Try increasing 'message_queue_size_kb' in project settings.
   At: core/message_queue.cpp:56.
Failed method: EditorInspectorSection:_update_callback target ID: 37093
TOTAL BYTES: 1048560
NULL count: 0
CALL : 23252
CALL _update_callback: 13901
CALL _update_minimum_size: 311
CALL _sort_children: 6217
CALL _update_tree: 9
ERROR: push_call: Message queue out of memory. Try increasing 'message_queue_size_kb' in project settings.
   At: core/message_queue.cpp:56.
Failed method: EditorInspectorSection:_update_minimum_size target ID: 37093
TOTAL BYTES: 1048560
NULL count: 0
CALL : 23257
CALL _update_callback: 13900
CALL _update_minimum_size: 310
CALL _sort_children: 6214
CALL _update_tree: 9
ERROR: push_call: Message queue out of memory. Try increasing 'message_queue_size_kb' in project settings.
   At: core/message_queue.cpp:56.
Failed method: EditorInspectorSection:_sort_children target ID: 37093

I have follwed the suggestion and went to increase the default message_queue_size_kb by 10. And eventualy it worked, tileset was opened and usable, but still lots of similar error messages had been produced:

ERROR: update_texture_list: Condition ' !tileset->tile_get_texture(E->get()).is_valid() ' is true. Continuing..:
    At: editor/plugins/tile_set_editor_plugin.cpp:2892.

error_messages

Steps to reproduce

Sample map or tileset

tiledproject.zip

ghost commented 5 years ago

Same problem here, with a large tileset. Godot UI freeze then crash. Lot of error messages too.

MikeMnD commented 4 years ago

We had the same problem although when the game is build and run all works fine. I'm not sure but when you make manual tileset there is a .tres file that is saved do the import plugin generates something like this?

MikeMnD commented 4 years ago

So https://github.com/godotengine/godot/issues/24789#issuecomment-568607466

Basically just set the message_queue_size_kb to 102400 kb / 100MB