0 votes

For some reason I am unable to delete a script.

I am using 3.1.1 stable on Linux mint 19.2.

The steps I follow are...

-create a project.
-create a node and attach a script to that node.
-create the script using the subsequent script creation dialog.
-right click on node and clear script
-in godot editor file system panel, I right click on the script and hit 'delete'

It then shows a a dialog entitled "Load Error", and the body contains the string "Cannot Remove res://my_script.gd".

in Engine by (12 points)

If you find a bug, you can report it here: https://github.com/godotengine/godot/issues

I just want to be sure it isn't user error first.

1 Answer

+1 vote

I might be a bug! I have the same problem and it happens also when moving files to other folders. For example if I make a script in the root folder (i.e. res://) run my game everything is all good but if I make a sub folder for scripts and then move my script in there I get source file cannot be found. If I delete the script I get the same error massage. Very frustrating.

by (16 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.