New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExternalEditor Lost code when changing script name and pressing play #32037
Comments
EDIT 2: Please view the post below |
Fortunately, the only serious project I have in Godot is in GDScript, so I was not using the external editor, I lost several lines of code in C # but it was just a port of code that I have in Unity. Here is a video of my problem, and some additional data(Sorry for the poor quality, I had nothing to record installed.) SO: Kubuntu 18.04.3LTS. |
Reproduced!!! You need to create the script through the file manager: It is not reproducible if you create a script from the node. |
True, and also if you create the script from the text editor. |
Some more information:
Temporary Solutions:
|
Is this still reproducible in Godot 3.3 or later? |
Yes - https://youtu.be/-jSLX_Oh5fo Clear reproduction steps:
|
Godot version:
OS/device including version:
Issue description:
When the name of a script is changed, and the play button is pressed, the code written in the script disappears and is replaced by the default template.
EDIT: This does not happen when the godot restarts after changing the name of the script, if you create the script from the node or if you create the script from the text editor.
External editors: Monodevelop, VisualStudio Code.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: