Skip to content

[4.8 dev 5] Output window shows errors related to autoloads when opening project settings menu #123524

Description

@abz-code

Tested versions

reproducible in 4.8 dev 5, and the latest commit of godot [00462d6] right now
not reproducible in 4.8 dev 4

System information

Godot v4.8.dev5 - Windows 11 (build 26200) - Multi-window, 1 monitor (3840x2160 @ 143.99 Hz) - Direct3D 12 (Forward+) - dedicated NVIDIA GeForce RTX 5080 (NVIDIA; 32.0.16.1692) - Intel(R) Core(TM) i7-14700KF (28 threads) - 31.79 GiB memory - WASAPI (48000 Hz, Stereo/mono)

Issue description

When you have an autoload node opened as a scene and you open project settings it says this:

ERROR: Another resource is loaded from path 'res://autoload test.tscn' (possible cyclic resource inclusion).
ERROR: Failed to instantiate scene state of "res://autoload test.tscn", node count is 0. Make sure the PackedScene resource is valid.
ERROR: Failed to create an autoload, path is not pointing to a scene or a script: uid://l7q4wewo8prr.
ERROR: editor/settings/editor_autoload_settings.cpp:586 - Condition "!info->node" is true. Continuing.

If you close the autoload scene and project settings after those errors and then open project settings it says this
 ERROR: modules/gdscript/gdscript.cpp:2134 - Condition "!named_globals.has(p_name)" is true.

and if you open project settings again the output is fine after that but the error can be reproduced by opening the autoload scene and opening project settings again

Steps to reproduce

create a new 3d scene
set as autoload
reload project
open the autoload scene
open project settings
and these error will appear

Minimal reproduction project (MRP)

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions