Hi,
For my game I have to clone (with gui.clone_tree
) a lot of nodes. I dynamically clone nodes when they are on screen and destroy them when they are off screen.
I do that basically for hundreds of them, and I keep track of which nodes are on screen and off screen with a table. Each entry of this table contains just 4 numbers, and a node_tree, which is nil
if the corresponding ui element is off screen.
But, at some point, the game crashes with the message “Not enough resources to clone the node tree”.
So, I’m wondering : is this crash related to my table becoming too big, or something else ?
Thanks