godot: FileSystem - Remove subfolder bug

Godot version: 3.1 stable

OS/device including version: Windows 7x64

Steps to reproduce:

  1. Create folder,
  2. In this folder create new subfolder,
  3. Delete subfolder

Result: subfolder physically deleted, BUT it is still displayed in FileSystem with root files in it + errors in console. Bug disappears after redraw (alt+tab to another window and back to godot)

Console:

 core/io/image_loader.cpp:56 - Error opening file: res://111/2222/111/icon.png
 editor/editor_file_system.cpp:1618 - Error importing: res://111/2222/111/icon.png
 editor/editor_file_system.cpp:1624 - Condition ' !f ' is true.
 core/io/image_loader.cpp:56 - Error opening file: res://111/2222/icon.png
 editor/editor_file_system.cpp:1618 - Error importing: res://111/2222/icon.png
 editor/editor_file_system.cpp:1624 - Condition ' !f ' is true

bug2

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 6
  • Comments: 32 (23 by maintainers)

Most upvoted comments

Can anyone still reproduce this in 3.5 or 4.0? I’m fairly sure the issue was fixed, haven’t seen it in ages.

Also on Windows 7, able to replicate it. This has been bugging me since 2.1 glad to see someone actually made it reproducible.