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

Crash when clearing and re-pasting a TileSet #67049

Closed
KoBeWi opened this issue Oct 7, 2022 · 0 comments · Fixed by #67147
Closed

Crash when clearing and re-pasting a TileSet #67049

KoBeWi opened this issue Oct 7, 2022 · 0 comments · Fixed by #67147

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Oct 7, 2022

Godot version

4.0 1817782

System information

Windows 10 x64

Issue description

CrashHandlerException: Program crashed
Engine version: Godot Engine v4.0.beta.custom_build (6ae39cd259eb388a4c2e752d82f8242a265b89ee)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[0] CowData<int>::_get_size (C:\godot_source\core\templates\cowdata.h:81)
[1] CowData<int>::size (C:\godot_source\core\templates\cowdata.h:131)
[2] Vector<int>::size (C:\godot_source\core\templates\vector.h:90)
[3] TileSet::get_source_count (C:\godot_source\scene\resources\tile_set.cpp:541)
[4] TilesEditorPlugin::get_sorted_sources (C:\godot_source\editor\plugins\tiles\tiles_editor_plugin.cpp:271)
[5] TileMapEditorTilesPlugin::_update_tile_set_sources_list (C:\godot_source\editor\plugins\tiles\tile_map_editor.cpp:149)
[6] call_with_variant_args_helper<TileMapEditorTilesPlugin> (C:\godot_source\core\variant\binder_common.h:267)
[7] call_with_variant_args<TileMapEditorTilesPlugin> (C:\godot_source\core\variant\binder_common.h:377)
[8] CallableCustomMethodPointer<TileMapEditorTilesPlugin>::call (C:\godot_source\core\object\callable_method_pointer.h:105)
[9] Callable::callp (C:\godot_source\core\variant\callable.cpp:51)
[10] Object::emit_signalp (C:\godot_source\core\object\object.cpp:1046)
[11] Object::emit_signal<> (C:\godot_source\core\object\object.h:851)
[12] TilesEditorPlugin::synchronize_sources_list (C:\godot_source\editor\plugins\tiles\tiles_editor_plugin.cpp:237)
[13] call_with_variant_args_helper<TilesEditorPlugin,Object *,Object *,0,1> (C:\godot_source\core\variant\binder_common.h:267)
[14] call_with_variant_args<TilesEditorPlugin,Object *,Object *> (C:\godot_source\core\variant\binder_common.h:377)
[15] CallableCustomMethodPointer<TilesEditorPlugin,Object *,Object *>::call (C:\godot_source\core\object\callable_method_pointer.h:105)
[16] Callable::callp (C:\godot_source\core\variant\callable.cpp:51)
[17] CallableCustomBind::call (C:\godot_source\core\variant\callable_bind.cpp:100)
[18] Callable::callp (C:\godot_source\core\variant\callable.cpp:51)
[19] Object::emit_signalp (C:\godot_source\core\object\object.cpp:1046)
[20] Object::emit_signal<> (C:\godot_source\core\object\object.h:851)
[21] CanvasItem::_notification (C:\godot_source\scene\main\canvas_item.cpp:351)
[22] CanvasItem::_notificationv (C:\godot_source\scene\main\canvas_item.h:45)
[23] Control::_notificationv (C:\godot_source\scene\gui\control.h:47)
[24] ItemList::_notificationv (C:\godot_source\scene\gui\item_list.h:39)
[25] Object::notification (C:\godot_source\core\object\object.cpp:792)
[26] CanvasItem::_handle_visibility_change (C:\godot_source\scene\main\canvas_item.cpp:90)
[27] CanvasItem::_propagate_visibility_changed (C:\godot_source\scene\main\canvas_item.cpp:69)
[28] CanvasItem::_handle_visibility_change (C:\godot_source\scene\main\canvas_item.cpp:103)
[29] CanvasItem::_propagate_visibility_changed (C:\godot_source\scene\main\canvas_item.cpp:69)
[30] CanvasItem::_handle_visibility_change (C:\godot_source\scene\main\canvas_item.cpp:103)
[31] CanvasItem::_propagate_visibility_changed (C:\godot_source\scene\main\canvas_item.cpp:69)
[32] CanvasItem::_handle_visibility_change (C:\godot_source\scene\main\canvas_item.cpp:103)
[33] CanvasItem::set_visible (C:\godot_source\scene\main\canvas_item.cpp:84)
[34] CanvasItem::show (C:\godot_source\scene\main\canvas_item.cpp:109)
[35] TileMapEditor::_update_bottom_panel (C:\godot_source\editor\plugins\tiles\tile_map_editor.cpp:3510)
[36] TileMapEditor::_notification (C:\godot_source\editor\plugins\tiles\tile_map_editor.cpp:3425)
[37] TileMapEditor::_notificationv (C:\godot_source\editor\plugins\tiles\tile_map_editor.h:317)
[38] Object::notification (C:\godot_source\core\object\object.cpp:792)
[39] SceneTree::_notify_group_pause (C:\godot_source\scene\main\scene_tree.cpp:869)
[40] SceneTree::process (C:\godot_source\scene\main\scene_tree.cpp:465)
[41] Main::iteration (C:\godot_source\main\main.cpp:3135)
[42] OS_Windows::run (C:\godot_source\platform\windows\os_windows.cpp:903)
[43] widechar_main (C:\godot_source\platform\windows\godot_windows.cpp:181)
[44] _main (C:\godot_source\platform\windows\godot_windows.cpp:203)
[45] main (C:\godot_source\platform\windows\godot_windows.cpp:217)
[46] WinMain (C:\godot_source\platform\windows\godot_windows.cpp:231)
[47] __scrt_common_main_seh (D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[48] BaseThreadInitThunk
-- END OF BACKTRACE --

I didn't look into what causes it, just found some random 100% repro.

Steps to reproduce

  1. Download the MRP from New TileMap editor: Tilemap creates kind of layereffect at the edge of the y-axis when painting a tile #57266
  2. Click the TileMap
  3. Copy the TileSet
  4. Clear the TileSet
  5. Paste the TileSet

godot windows editor dev x86_64_bp3HanKbaV

Minimal reproduction project

No response

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

Successfully merging a pull request may close this issue.

2 participants