Why Godot .store_var() function is so unpredictable?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By molesallegiance

In project 014 I manage to save the whole object in array of custom object and load it as normal thing. But Project _004 I can’t seems to figure out what’s the difference all the code is roughly the same and the method for saving the same too.

The error in project _004 is the null instance something-something…

I want to make separate test case for the question so that the reader can easy see the question. But the 014 is where I experiment with .store_var() function and it’s functioning great, and I try different method to save and ended up with saving recording sample of mic.

:bust_in_silhouette: Reply From: molesallegiance

Solved in the init function I must do this. func _init(cons_text:string=“”, cons_type:string=“”)