Roblox game with StreamingEnabled has massive FPS drops after a while

I recently enabled StreamingEnabled with StreamOutBehavior set to Opportunistic in my Roblox game Comedy World RP Fixed since it has a lot of parts, maps, etc and players complained about lag. It improved the performance a lot, but it caused 2 bugs where the player glitches while joining the game (The lobby reappears and the player is unable to walk or glitches while walking for a while) and where the FPS starts dropping after 15-30 minutes of playing the game. I added RequestStreamAroundAsync, WaitForChild, etc. to most scripts so players don’t fall to the void. The only solution I found so far is rejoining or disabling StreamingEnabled (more lag). The RAM usage is at 700-1100MB on mobile (Realme 8i on LineageOS 20, overheats when the FPS bug happens) and 1100-1300MB on PC (Lenovo Ideapad 3 15ALC6 8GB).

How to reproduce the bug:
Join the game
After 15-30 minutes of playing the game, the FPS will start dropping.

Everything worked fine before enabling StreamingEnabled, so it’s probably an engine bug.

I disabled StreamingEnabled and made a script which hides maps in my game a few days ago. The FPS drop issue now occurs sometimes. I’m not sure if it’s a leak in my game or an Engine bug. I added another microprofile file from when the issue occured after disabling StreamingEnabled.

Log/dump files were attached to the internal ticket by a Roblox Staff (@Focia19), due to the sensitive information they may contain, will not be shared publicly!

6 Likes

We’ve filed a ticket into our internal database for this issue, and we will update you when we have further information!

Thanks for the report!

3 Likes

I have some questions after looking at the microprofiles that were provided, so I will reach out to you directly.

1 Like

Looks like this has been fixed! Closing out the thread.