Hi, I've uploaded and named a number of images using the Asset Manager to put onto buttons. One of the images (named "BL Draw Story Card") loads, but the others fail to load.
- I've saved and loaded the game, and I've closed Tabletop Simulator entirely and reloaded the saved game.
- I've verified that the custom assets are loaded with
UI.getCustomAssets(). - I've tried deleting and reuploading the files and removing and adding them to the Asset Manager again.
- I've tried copying and pasting the image name from the Asset Manager to the XML generation code. "BL Draw Story Card" loads, but the other images don't load.
- I've tried disabling Mod Caching (Menu -> Configuration) and reloading the saved game.
I searched the channel and found the following previous discussions:
- #scripting message
- I tried making the script wait 15 seconds to load the buttons with
Wait.timer(makeButtons, 15), but the images still fail to load.
- I tried making the script wait 15 seconds to load the buttons with
- #scripting message
- I verified that the images are RGBA. "BL Draw Story Card" loads, but "BL Draw Ending Card" doesn't.
BL Draw Story Card.png: PNG image data, 512 x 96, 8-bit/color RGBA, non-interlacedBL Draw Ending Card.png: PNG image data, 512 x 96, 8-bit/color RGBA, non-interlaced
I also swapped the names of the images for "BL Draw Story Card" and "BL Draw Ending Card" in the Asset Manager (so that the "BL Draw Story Card" image is labeled "BL Draw Ending Ending Card" and vice-versa). When I saved and reloaded the game, the name "BL Draw Story Card" still results in the Story Card image, even though the Asset Manager shows that it's now pointing to the Ending Card image.
What else can I try?