Forum Discussion

SylGames's avatar
SylGames
MHCP Member
1 year ago
Solved

Loading Custom UI images doesn't work

Hello everyone, I've been working on custom UIs and encountered an issue that's quite frustrating. Whenever I try to load an ImageSource from an asset, the image often fails to display. This problem...
  • PigeonNo12's avatar
    1 year ago

    Can you share the code that you are using to display the image? How frequently are you changing these images?

    Also, how large are the images? How many megabytes? Switching large images might eventually fail to load due to a memory limitation.

    Is the script running locally or on the server? Sometimes images fail to load on local scripts, if they are not rendered on the server side first when the CUI is initialized.