"Unable to load plugin icon" How can I fix this?

Hi devs,

I’m currently making a plugin, and I can’t get the image to work. I’ve tried with various images, all of them work for GUI and aren’t decals. (I also tried with decals)

I’m not sure how to get this to work, can anyone help?

Go to the toolbox, find the decal you are looking for, right click the image and press the Copy Asset ID option in the dropdown menu that appears. Use this number for your image’s id instead.

Are you copying the asset ID after they’ve been inserted into a GUI element, or before? If before, you’re copying a decal ID, hence it isn’t working, but if you copied it from the textbox for an image ID in the elements properties, it should be working.

I just had this issue. I went to (2) Develop - Roblox and uploaded my image as a decal thinking I’d get it through moderation in good time. Decal was the only option in that (albeit deprecated) page. There was no option to upload an image.

image

Had I gone to the new “creatives” page: Creator Dashboard (roblox.com), I could have found the image tab. Instead I pasted just my decal id, 12010825356 into the texture space for a random decal. Studio took the lead and updated this to rbxassetid://12010825287.

Took me a while to notice this was a new id. I see it reused the name from my decal, so that’s something, but it feels like a duplication of resources. There is no way to upload directly to Creator Dashboard (roblox.com). Perhaps I can drag drop the actual file into roblox studio. As I can’t delete resources I upload I’ll not be polluting my collection to prove that just yet.

There was no moderation delay for the new image, perhaps because it was derived from an already moderated decal.

local plugin = script.Parent.Parent local toolbar = plugin:WaitForChild("Toolbar") local toolbarbutton = toolbar:WaitForChild("ToolbarButton") local gui = plugin:WaitForChild("Main") local mouse = plugin:WaitForChild("Mouse") local main = mouse:WaitForChild("Main") local icon = "rbxassetid://2549553737"

toolbarbutton.Click:Connect(function()
gui.Enabled = not gui.Enabled
end)

– This is where I’m having problems
toolbarbutton.Icon = icon

Thanks, Gavin from Stuck Studios!

I’m not sure if you’d have the same issue, but I had the same issue, the issue was the icon was not a decal, and it was a small icon. Once I changed the icon to be a decal and made it bigger, it worked.