Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Jatz | |
Old Version | Published before Godot 3 was released. |
What is the difference between and Array()
the reason I’m asking is because when i tried to store Nodes in a variable they refused to free themselves from memory when I called queue_free(), but changing the variable to Array() seems to have fixed the problem.
There is an issue related to this.
COW mode · Issue #5277 · godotengine/godot · GitHub
volzhs | 2016-12-02 11:01
To avoid future problems due changes on Array, I can suggest to use groups instead, you won’t have reference problems working with groups.
eons | 2016-12-03 00:06