Skip to content

Conversation

@KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Dec 4, 2025

When saving a built-in script while the game is running, it may trigger errors. The reasons are twofold:

  • The debugger tries to reload all received paths, even scripts that aren't loaded. I don't know what's the purpose, but it does not work for built in scripts, as their scene has to be loaded for them to be recognized.
  • The editor was sending unnecessary script paths. When you save a scene, all currently open built-in scripts would be live reloaded.

Fixes #105891

@KoBeWi KoBeWi added this to the 4.x milestone Dec 4, 2025
@KoBeWi KoBeWi added the bug label Dec 4, 2025
@KoBeWi KoBeWi requested review from a team as code owners December 4, 2025 22:30
Copy link
Contributor

@kitbdev kitbdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kitbdev kitbdev modified the milestones: 4.x, 4.6 Dec 6, 2025
@Repiteo Repiteo merged commit 4f523ec into godotengine:master Dec 8, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 8, 2025

Thanks!

@KoBeWi KoBeWi deleted the reload_without_load_is_just_REEEEEE branch December 8, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when live-reloading built-in script that is not in the running scene

3 participants