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

Attempt to open script 'XXX' resulted in error 'File not found' #92037

Open
CsloudX opened this issue May 17, 2024 · 2 comments
Open

Attempt to open script 'XXX' resulted in error 'File not found' #92037

CsloudX opened this issue May 17, 2024 · 2 comments

Comments

@CsloudX
Copy link

CsloudX commented May 17, 2024

Tested versions

v4.3.dev6.mono.official [89850d5]

System information

Godot v4.3.dev6.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 5GB (NVIDIA; 31.0.15.3623) - AMD Ryzen 9 3900X 12-Core Processor (24 Threads)

Issue description

Report follow error but I don't known how to fix it(IMO, delete global_script_class_cache.cfg was not a good idea):
image

Steps to reproduce

  • Create a project.
  • Add a GDS Test.gd and set class_name Test
    image
  • Close project
  • Delete the Test.gd from folder
  • Open the project
  • Try add scene Node
    image

ADDTION: This issue like #90186

Minimal reproduction project (MRP)

See the steps.

@dalexeev
Copy link
Member

delete global_script_class_cache.cfg was not a good idea

If this is the bug I'm thinking about, then as a workaround you can save each file with class_name, after restarting the editor it should be fixed.

@CsloudX
Copy link
Author

CsloudX commented May 17, 2024

delete global_script_class_cache.cfg was not a good idea

If this is the bug I'm thinking about, then as a workaround you can save each file with class_name, after restarting the editor it should be fixed.

I'm restarted the editor many times, the error always here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants