So I recently launched the Cyclops Level Builder addon (https://github.com/blackears/cyclopsLevelBuilder) and am running into a weird issue with it already. I made what I thought was a simple change to the code, checked it in without testing it and then realized a few hours later that I had broken the code. I then rolled back to the last good check in and thought that everything was fine. I was able to get the repository that I had been developing on for the last month to work again.

But as part of this repair process I also checked out a copy of the repository to temporary directory and tried to run that. And for some reason this second copy will not run. I've run a diff with it against the directory I'm developing in and the code is identical. The only differences are in the .godot directory and the carriage return format in some of the documentation. And yet my second copy is not running. If I disable and reenable the plugin, I get a bunch of errors that look like

Node not found: "/root/CyclopsAutoload" (absolute path attempted from "/root/@@16579/@@655/@@656/@@664/@@667/@@675/@@683/@@684/@@686/@@712/@@713/@@752/MainScreen/@@9766/@@9593/@@9595/@@9597/@@9598/@@9599/@@9600/Node3D/CyclopsBlocks/block_bodies/@@17296").
res://addons/cyclops_level_builder/nodes/cyclops_convex_block_body.gd:115 - Invalid get index 'builder' (on base: 'null instance').

What's going on? I also don't know if the users are experiencing this. Why is the same code running differently in my second directory?

The autoload function has a bug. I think it caches the name of the class, but this is not editable so changing the name (or remove the autoload) causes an error.

    cybereality The autoload function has a bug. I think it caches the name of the class, but this is not editable so changing the name (or remove the autoload) causes an error.

    Now I might be misrecalling but aren't autoloads/singletons basically constants and you can't change constants during runtime.

    As I said tho, might be misrecalling. Take with a grain of salt.

    No, I mean if you delete the file from the project and re-open the editor. It doesn't work (it still thinks it exists).

    Ah, got it. Yeah, that definitely sounds like a bug.