Globals unable to see scenes

Godot Version

4.8

It appears I corrupted my scenes or something because every time I tried adding them to Autoload Godot throws like four-to-five different errors. Something about path misdirection? I’m very curious as to why this has happened.

Also, I tried to make a new scene which initially worked, but after closing and reopening Godot Globals failed to see that too.

Here are some screenshots. I don’t really know what the problem is so I screenshotted a bunch of things.

Show your code. I’d bet it’s an issue preloading large scenes. You should avoid preload in most cases, only use it for small self-contained resources.

oh i use c#

but okay

(top is child, bottom parent (2 nodes))

I am often able to fix these errors by simply restarting the editor. There was one time that I was only able to fix it by going into the scene file in the text editor and correcting a line that got glitched out. I can’t remember what it was exactly… a file path or a guid or something. Unfortunately this occasional jankiness is part of the Godot experience. But it has gotten a lot better

The errors are point to Spare.tscn.
Is there code to go along with that scene?

okay…

I remade spare.tscn but with only one Control node, attaching it to globals, and as soon as I closed and reopened Godot the same error pops up again.

This is pretty much it. One scene with one node, no script. Five errors raving about something.

Funny enough Godot never complains UNTIL I restart the editor.

Can you upload/paste that spare.tscn file?

[gd_scene format=3 uid="uid://bsot6adtajirf"]

[node name="Control" type="Control" unique_id=822757717]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

Do you have spare.tscn as an autoload AND in the scene tree? Technically Godot will allow you to load more than one singleton as an autoload isnt a true singleton, but you really shouldn’t do that.

Clue is in the title, autoload, no need to load it anywhere else.

No, I did not consider that.

It appears that, if the autoloaded scene’s tab is not open, there are no errors. A little weird to think about considering I will have to open it if I ever want to edit it, but I guess that fixes the problem.