- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 23.5k
 
Open
Labels
Description
Tested versions
System information
Godot v4.5.stable - Linux Mint 22.2 (Zara) on X11 - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - AMD Radeon Graphics (radeonsi, phoenix, LLVM 20.1.2, DRM 3.61, 6.14.0-33-generic) - AMD Ryzen 7 8745H w/ Radeon 780M Graphics (16 threads) - 25.22 GiB memory
Issue description
Even if the script is not used or opened, restoring the externally modified script path by moving to the previous directory location in the editor will produce an error message similar to the following:
ERROR: Another resource is loaded from path 'res://1.gd' (possible cyclic resource inclusion).
   at: set_path (core/io/resource.cpp:95)
Steps to reproduce
- Create an empty project;
 - Create a script named 
1.gd(res://1.gd); - Create a directory named 
a(res://a); - Outside the editor, move 
1.gd(or/and its ".uid" file) to directorya(res://1.gd=>res://a/1.gd); - Inside the editor, move 
1.gdto the root directoryres://(res://a/1.gd=>res://1.gd). You will receive an error message. 
Minimal reproduction project (MRP)
N/A
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
For team assessment