Why does UButton icon 404 error unless icon is separately pre-loaded?
Relevant chunk of code:
By itself I get the error: "Failed to load resource: the server responded with a status of 404 ()"
However it works if after the above I add:
Is there a less hacky way to preload icons? I tried
Thanks!!
By itself I get the error: "Failed to load resource: the server responded with a status of 404 ()"
However it works if after the above I add:
Is there a less hacky way to preload icons? I tried
loadIcons() but that didn't work. Thanks!!
