When using SocialService:PromptGameInvite, the shown prompt displays a broken and outdated version within Roblox Studio. This does not apply when playing via the Roblox Player, which shows the correct up-to-date version.
Because of this issue, it makes it hard to test and accurately see what the Modal will look like for an end user. When trying to implement Referral Rewards, I am unable to see the accurate preview as a result.
I have created an Uncopylocked test for this here: SocialService Bug Repro | Play on Roblox
To reproduce the incorrect Modal:
- Open the test file in studio
- Playtest as a player
- Press the button on the screen
- You will be prompted the old menu
To reproduce the correct Modal:
- Press play on the experience link
- Press the button on the screen
- You will be prompted the new menu
Demonstration Videos:
Expected behavior
The Modal to display correctly on all platforms, including Roblox Studio.