I just did try to update my project to Godot 4.5. After the update it seems like the Resources did change.
I do use a custom resource to hold a set of playing cards, each playing card is a resource as well. Those cards are put together in a deck. That deck is loaded and should be placed on the playing field. With the update to Godot 4.5 the whole deck is empty if I print the content.
I did try to open up the resources, save them and hoped for some changes in the files fixing the issues, but seems like I’m out of luck. I tried to find something on the migration guide, but there’s nothing.
As soon as the code is accessing the deck ressource the return for cards is empty.
As the data aet loaded in that case is something I configured from within Godot the information should be there.
As the whole method is building the deck with an empty card set, nothing is getting placed. The whole code worked with 4.4.1 and stopped working with 4.5 which tells me something within threads or resource handling changed.
Might this be the result of the resource copy which was changed? Is a duplicate preventing resources stored inside an array to be copied as well?
Do resources get copied if used in a thread? Need to check my code if I did that somewhere by accident.
You did point me into the right direction. Somehow I did not think about that. I did copy the decks somewhere to translate them correctly, this was still set to “duplicate” after changing it to “duplicate_deep” the array was copied as well as expected.