I have 2 custom resources: StatsResource and InventoryResource
i also have a custom resource called SaveGame, i keep the other two resources inside that resource and i use ResourceSaver to save the SaveGame resource as a file. however, it saves my custom resource types as if they are textures for some reason:

when i save a non-custom resource, like SpriteFrames for example, it does save it correctly. why does is happen and what should i do?