Connecting signal script issue

Godot Version

4.4.1

Question

Instead of connecting my signal into my existing main.character.gd script, it creates a temporary scene-embedded script called something like
main.character.tscn::GDScript_bir4y and does not create it in the script i want it to (main.character.gd), How can i ressolve this issue?




Is main_character.gd actually attached to the node or do you happen to have an embedded script there?

Look at the errors. All the scene main character is not found.
I guess naming the scene “main.character” is not good, try to use “main_character.tscn”