Closed aiaimimi0920 closed 1 month ago
@chairfull Here is a possible solution:
https://github.com/godotengine/godot/issues/91713
var editor_interface = Engine.get_singleton("EditorInterface")
static func _static_init() -> void:
if Engine.is_editor_hint():
var editor_interface = Engine.get_singleton("EditorInterface")
var sig = editor_interface.get_resource_filesystem().filesystem_changed
if not sig.is_connected(_filesystem_changed):
sig.connect(_filesystem_changed)
Thanks for solution. I tested a Linux build and got the same error, but that fixed it for me.
Reproduction steps:
Create a project containing plugins randomly
Export the project as exe
Open exe, and it will crash
this is error info: