Hi.
While I was working on a mod I noticed an odd issue where an image that is still in use is unloaded, resulting in a black texture on the card.
I have 3 custom cards, each with one of 3 images in each side:
- Image A and B
- Image B and C
- Image C and A
If I drop card 1 into a bag (or delete it), then images A and B are unloaded, resulting in cards 2 and 3 having black textures on one side.
Depending on which card is removed (and possibly whether the removed image is front or back?) it may result in black textures, or the same image on both sides of the card.
I have produced a small mod (using images from the mod I was working on) that demonstrates the issue - https://steamcommunity.com/sharedfiles/filedetails/?id=2090978679
I realise that creating cards in this manner is not optimal, but it would otherwise require creating two "deck" images for front and back.