Getting the icon of a gamepass

I’m trying to get the image of a gamepass (so that it can be used on an imagelabel) ingame, with just the gamepass ID.

So far I’ve tried using MarketplaceSerivce’s :GetProductInfo() to get the icon, but it always returns a 0. The new gamepass update seems to have messed up the image endpoints, all of the ones I’ve tried point to random decals instead.

Anyone able to help?

Normally IconImageAssetId does not work for other Assets but DevProducts, but it worked for Gamepasses a few days ago but now I noticed that it returned 0.

This has been mentioned many times already.

I think we’ll have to wait until it’s fixed, it’s pretty annoying when this happens.

1 Like

Are you taking advantage of the second parameter of GetProductInfo to return the correct information?

1 Like

Yes, of course!

1 Like