Do autoloads get reinitialized after a scene change?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Oian


so autoloads are loaded right at the beginning, correct? Are they affected by functions such as get_tree.change_scene() ?

I ask because one of my bools in an autoload seems to change if i change scenes, yet the only time it actually changes its value is when it gets initialized.

:bust_in_silhouette: Reply From: exuin

Autoloads are not affected by the SceneTree.change_scene() method. You probably have something else that’s affecting the variable.