Objects not created after recovery from the trash

I accidentally deleted an object’s VS file from the file system.

Later, I realized it had only been moved to the trash, so I restored it from there to its original path. However, after that, I couldn’t spawn the object or fire bullets anymore.

Here’s the sequence of events:

Deleted the file from the file system

Opened the object in Godot using “Open Anyway” despite missing dependencies

Restored the VS file from the trash

Re-established the VS dependency

The object stopped spawning

I suspect some settings changed during the restoration process, but I don’t know where to look or what to change, so I’m stuck.

I managed to resolve it on my own.
I copied and pasted the state and other settings from the original file into a new .vs file, and that fixed it.

3 Likes