PromptGamePassPurchase image displays incorrectly after using PromptPurchase and is initially blank


#1

If you prompt a gamepass using PromptGamePassPurchase() after prompting an asset using PromptPurchase() then the gamepass’s image will appear incorrectly as the previously prompted asset:


You can replicate the bug by doing the following:

local player = game.Players[yourUserName]
game:GetService("MarketplaceService"):PromptPurchase(player, 857927023)

local player = game.Players[yourUserName]
game:GetService("MarketplaceService"):PromptGamePassPurchase(player, 4577505)

I tested this in multiple games of mine with the same result each time.
I discovered and recorded the bug at this place.


Device info:

  • User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
  • Platform Type: PC
  • Device Type: Computer

closed #2

This topic was automatically closed after 1 minute. New replies are no longer allowed.


opened #3

#4

Since the image is initially blank it should mean that the prompt gamepass purchase is not updating the ImageLabel of the GUI rather than using the icon of the previously prompted asset.