godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.5k stars 20.05k forks source link

Dragging tilemap to empty viewport cause error and Loading Resource flood #29344

Open qarmin opened 5 years ago

qarmin commented 5 years ago

Godot version: 3.2 5098d2c

OS/device including version: Ubuntu 19.04

Issue description: When I drop tilemap scene to empty viewport, then a lot of "Loading resource" is shown and this error

ERROR: clear_history: Condition ' action_level > 0 ' is true.
   At: core/undo_redo.cpp:356.
ERROR: check_and_update_scene: Index p_idx=1 out of size (edited_scene.size()=1)
   At: editor/editor_data.cpp:624.
ERROR: set_edited_scene: Index p_idx=1 out of size (edited_scene.size()=1)
   At: editor/editor_data.cpp:672.

Steps to reproduce:

  1. Open project from command line with verbose flag -v file

Minimal reproduction project: FaultyMap03.zip

qarmin commented 4 years ago

Still happens with 3.2.2 and shows this errors

ERROR: clear_history: Condition "action_level > 0" is true.
   At: core/undo_redo.cpp:359.
ERROR: get_scene_path: Index p_idx = 1 is out of bounds (edited_scene.size() = 1).
   At: editor/editor_data.cpp:798.
ERROR: check_and_update_scene: Index p_idx = 1 is out of bounds (edited_scene.size() = 1).
   At: editor/editor_data.cpp:627.
ERROR: set_edited_scene: Index p_idx = 1 is out of bounds (edited_scene.size() = 1).
   At: editor/editor_data.cpp:677.
ERROR: connect: Signal 'settings_changed' is already connected to given method '_tileset_settings_changed' in that object.
   At: core/object.cpp:1515.