How to edit instanced scenes singularly on runtime?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Eorlanas

So, I’m generating a bunch of a packedscene through runtime, and I would like to change the albedo_texture of some of them while leaving the others unchanged. I’m generating the packedscenes through instantiate(), since duplicate() doesn’t allow me to add_child() with the new variable as an argument since it expects a Node rather than a Resource. I’ve set all of the mesh’s subresources as uniques and local to scene, but for some reason any changes to the texture still apply to all instances of said scene. Anyone got a suggestion?

Code here