[FIXED] Resource in Dictionary getting garbage collected? #45
mdevnull
started this conversation in
Is this a bug?
Replies: 1 comment 4 replies
-
I'm going to have a play with Dictionaries and see what is happening here. On the topic of dictionaries, do you think it would be useful to have a type-safe dictionary type? ie a |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I suspect that godot frees the ImageTexture immediately but I am unsure why.
Given a node struct likee this:
And with
h
being the pointer to an instance of thee node above:After this is called I can see in the Godot editor that the key exists but it points to a

Beta Was this translation helpful? Give feedback.
All reactions