Autoload not processing input

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

I have a simple scene as a singleton, its script has the _input function overriden so it should process any input, but the function is never called.
It worked on Godot 3.5 but not after updating to 4.0.

Is it still in the autoload list? What is its process mode?

exuin | 2023-03-15 01:15

Ok I just found the problem, the root node of the autoload scene was processing only “when paused”, I guess when updating to 4.0 it must’ve changed it for some reason.
Thanks for the response.

docvaan | 2023-03-15 08:18

I’ve ran into a similar issue just today. I have a _process function in an autoload script, but the _process function only seems to load when the application is paused. Is this intentional or a bug?

EDIT: Ok actually now I just feel dumb for reviving this old post, lol. It turns out my issue was not because _process wasn’t running, it instead had to do with the way a variable was being handled within _process. My bad.