You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Just wanted to let you know about a really funky Godot bug I ran into while working off your StS videos, namely that duplicate(true) doesn't actually duplicate resources stored in arrays, AKA the Card array stored in CardPile. Bug has been reported here: godotengine/godot#74918. I don't know if it will actually come up for your video series at all, but when I was trying to dynamically modify cards and every other card with the same resource was getting changed too it was both confusing and frustrating.
Once I discovered it was actually an engine bug it was a pretty easy fix to write my own duplicate function for CardPile, but I wanted to let you know because you use duplicate(true) at least once in the code and it was kind of a hard issue to find that made me question my understanding of resources and duplicate in general."
The text was updated successfully, but these errors were encountered:
As described by Alex on my Ko-Fi page:
"Just wanted to let you know about a really funky Godot bug I ran into while working off your StS videos, namely that duplicate(true) doesn't actually duplicate resources stored in arrays, AKA the Card array stored in CardPile. Bug has been reported here: godotengine/godot#74918. I don't know if it will actually come up for your video series at all, but when I was trying to dynamically modify cards and every other card with the same resource was getting changed too it was both confusing and frustrating.
Once I discovered it was actually an engine bug it was a pretty easy fix to write my own duplicate function for CardPile, but I wanted to let you know because you use duplicate(true) at least once in the code and it was kind of a hard issue to find that made me question my understanding of resources and duplicate in general."
The text was updated successfully, but these errors were encountered: