Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is my plugin icon invalid or unknown format?

Asked by 9 years ago

Button part of the plugin script:

local button = toolbar:CreateButton(
    "Terrain Creator",
    "Open Terrain Creator",
    "http://www.roblox.com/asset/?id=145723965"
)

Error: 18:54:23.304 - Unable to load plugin icon. Image may have an invalid or unknown format.

1 answer

Log in to vote
6
Answered by
Wizzy011 245 Moderation Voter
9 years ago

When dealing with decals on ROBLOX, you need to -1 from the original URL to get the asset id, if you put http://www.roblox.com/asset/?id=145723964 (one less) then it'll work!

0
Note that if two assets are uploaded to ROBLOX at the same time, the asset ID could be -2 or even -3 behind the original ID. User#11893 186 — 9y
Ad

Answer this question