Skip to content

ProcessDialog errors appeared after rebuilding .NET project #96550

@DCTewi

Description

@DCTewi

Tested versions

  • Reproducible in: 4.4.dev.mono [e2dd56b]
  • Not reproducible in 4.3.stable.mono

System information

Godot v4.4.dev.mono (e2dd56b) - Windows 10.0.22631 - Vulkan (Forward+)

Issue description

After rebuild .NET project, two process_dialog.cpp:169 error will be appeared.

QQ20240904-135155

Godot error stacktrace:

>	godot.windows.editor.x86_64.mono.exe!ProgressDialog::add_task(const String & p_task, const String & p_label, int p_steps, bool p_can_cancel) 行 169	C++
 	godot.windows.editor.x86_64.mono.exe!EditorNode::progress_add_task(const String & p_task, const String & p_label, int p_steps, bool p_can_cancel) 行 4966	C++
 	godot.windows.editor.x86_64.mono.exe!EditorProgress::EditorProgress(const String & p_task, const String & p_label, int p_amount, bool p_can_cancel) 行 193	C++
 	godot.windows.editor.x86_64.mono.exe!EditorFileSystem::_update_script_classes() 行 1875	C++
 	godot.windows.editor.x86_64.mono.exe!EditorFileSystem::_process_update_pending() 行 1955	C++
 	godot.windows.editor.x86_64.mono.exe!EditorFileSystem::update_files(const Vector<String> & p_script_paths) 行 2180	C++
 	00007ffb3df46db5()	未知
 	00007ffb3df500dd()	未知
 	00007ffb3d045c96()	未知
 	00007ffb3d044a36()	未知
 	godot.windows.editor.x86_64.mono.exe!GDMono::_load_project_assembly() 行 488	C++
 	godot.windows.editor.x86_64.mono.exe!GDMono::reload_project_assemblies() 行 531	C++
>	godot.windows.editor.x86_64.mono.exe!ProgressDialog::add_task(const String & p_task, const String & p_label, int p_steps, bool p_can_cancel) 行 169	C++
 	godot.windows.editor.x86_64.mono.exe!EditorNode::progress_add_task(const String & p_task, const String & p_label, int p_steps, bool p_can_cancel) 行 4966	C++
 	godot.windows.editor.x86_64.mono.exe!EditorProgress::EditorProgress(const String & p_task, const String & p_label, int p_amount, bool p_can_cancel) 行 193	C++
 	godot.windows.editor.x86_64.mono.exe!EditorFileSystem::_update_script_documentation() 行 1914	C++
 	godot.windows.editor.x86_64.mono.exe!EditorFileSystem::_process_update_pending() 行 1956	C++
 	godot.windows.editor.x86_64.mono.exe!EditorFileSystem::update_files(const Vector<String> & p_script_paths) 行 2180	C++
 	00007ffb3df46db5()	未知
 	00007ffb3df500dd()	未知
 	00007ffb3d045c96()	未知
 	00007ffb3d044a36()	未知
 	godot.windows.editor.x86_64.mono.exe!GDMono::_load_project_assembly() 行 488	C++
 	godot.windows.editor.x86_64.mono.exe!GDMono::reload_project_assemblies() 行 531	C++

Steps to reproduce

  • Create a Godot project with Mono enabled.
  • Create multiple Node with CSharp script.
  • Modify script content and rebuild .NET project.
  • Errors appear.

Minimal reproduction project (MRP)

progress_dialog_error_demo.zip (Click generate csharp solution first)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions