Open nofacer opened 1 year ago
The language does not seem to be saved in the plugin.cfg
file so, when opening the dialog, the OptionMenu contains whatever the default value is (GDScript).
Here's the part of the code that opens the dialog and sets the field values:
We either need to save the language in the plugin.cfg
or try to guess it from the Script Name extension.
Note that this does not affect the plugin, the language field is only used for validation. Godot will use the language that corresponds to the script file's extension, so if the file ends with .cs
it will instantiate it as a CSharpScript
and should work as expected.
Godot version
4.0.beta5.mono
System information
MacOS 13.0.1 (22A400)
Issue description
A plugin was created with C# Language. But in plugin edit page, the Language field shows GDScript. After changing to C# and reload the project it became GDScript again.
Steps to reproduce
Here is a screen recording. Please wait for seconds to load:
Minimal reproduction project
N/A