Skip to content

Attempted to call reimport_files() recursively #964

@larimaza

Description

@larimaza

Working with Dialogue Manager, I've been occasionally getting the message "Attempted to call reimport_files() recursively" for a while, but had ignored it so far.
Now that I have more dialogue files, Godot has been freezing every time I save any changes to dialogue files and taking a long time to respond because it's reimporting assets.
On the console, I get both errors:

"ERROR: Attempted to call reimport_files() recursively, this is not allowed"
and
"ERROR: Scene saved while already being saved!"

I tried to troubleshoot but couldn't find anything related to compiler settings or to file watching interval. Am I missing some setting or is this still a recursive import bug?

  • Dialogue Manager version: 3.7.1
  • Godot version: 4.4.1

Steps to reproduce the behavior:

  1. Create a project with 20+ dialogue files, each referencing the next one
  2. Edit a dialogue line in the Dialogue tab in Godot and save
  3. Godot should freeze while showing the window "(Re)importing files" and show the console errors
  4. Godot should un-freeze after several minutes
Image Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions