So I've only been using Godot for maybe a week so forgive my ignorance. I do, however, have quite a bit of experience in other game engines (mainly UE4) so I'm not totally stupid. Anyway, I'm trying to make an inventory system for my game and it'll work perfectly the first time the game is run. However, the next time I run the game, it throws an error saying
Attempt to call function 'get' in base 'previously freed instance' on a null instance.
Here's the code if you want to give it a look. I assume its problem is that it's not totally freed from memory until it does throw that error as to not crash the editor or whatever.