Gdscript: Godot 3D Scenes still need manual reload in Godot 4.4?

Godot Version

4.4

Question

After hearing so much about gdscript hot reloading and how good the gdscript really is: I opened up this tutorial and while following it I noticed that we actually still need to manually reload entire scene for script to take effect.

I personally feel really annoyed about this, it’s bearable, but it’s annoying.
I wasted at least 1-2 minutes being confused that would have be better spent learning or understanding something. This might seem like not much, until you realize that entire tutorial is 1.26 minutes. Also what about larger scenes in the future, do I also need to manually reload them, well that seems like it starts to be either energy intensive or/and time intensive to reload entire scene for changes to take effect.

Here is the exact moment in this short tutorial I followed: https://youtu.be/xIj_fjMPocg?si=VdL6PXVn49QJrRp7&t=57

Godot Engine with gdscript was in development as early as 2019, that’s more than 5 years and this issue persists and it seems it will persist for even longer.

I just tried, making changed to a GDScript without saving and my changes were reflected in the inspector immediately, so definitely hot reloading is working for that.

I can’t say for 3D scenes because I never use them, in fact I don’t even really use 2D scenes I just write code. I have tried making changes to a control while the project is running and those changes were also reflected immediately without restarting.

I would expect that seriously complex changes would require restarting or reloading though. Hot reloading can’t work for everything while the project is running.

Kindly

Ryn

1 Like

This is quite normal in basically every single programming language and engine ever. At one point, you need to stop the execution of your application and re-run it. Even the most advanced ways to hot-reload will eventually need some form of restarting or re-reading the source code to account for all the changes. You can’t expect to build an entire game from start to finish while the game is constantly running without a single re-launch.

Yes yes, but I’m literally a few minutes into making a game and we have issues and that’s all that matters.

There are a lot of horrible normal things that shouldn’t be normal or a standard.

So yeah, there are no excuses to not fixing this and this shouldn’t be normal thing and expectations should be set higher if we want any games to be made, else we can go on a normal route and not having any games at all, or have games of lower standards, which we already have everywhere.

I’m mostly here to report this issue for myself and to raise awareness of this issue: in case someone suggest for me as a game developer to go on and fix the Godot application or Godot Engine myself through Pull Requests or make an Issue on Godot Engine Repositories.