Skip to content
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

Updated script paths #53359

Closed
Remixful opened this issue Oct 3, 2021 · 1 comment
Closed

Updated script paths #53359

Remixful opened this issue Oct 3, 2021 · 1 comment

Comments

@Remixful
Copy link

Remixful commented Oct 3, 2021

Godot version

3.3.4 stable

System information

Windows 10

Issue description

After I move a few files around (in the file explorer or the FileSystem tab in Godot), the script begins to throw an error that class_name already exists at the scripts new location. If I right click the script I currently have open that is throwing this error, and then copy script path, the path is the new location, so the script editor has the right file open. The only way to fix this is to restart Godot.

Steps to reproduce

  1. Make a script, set a class_name
  2. Move this script to a different folder
  3. Wait for error to pop up (or soft-reload, CTRL+SHIFT+R)

Minimal reproduction project

No response

@Remixful Remixful changed the title Script Editor doesn't update paths Updated script paths Oct 3, 2021
@Calinou
Copy link
Member

Calinou commented Oct 3, 2021

Duplicate of #21461

@Calinou Calinou closed this as completed Oct 3, 2021
@Calinou Calinou marked this as a duplicate of #21461 Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants