Info
My game crashes after being played for a while, in my game maps are downloaded as assets at run time. Even if you download all maps the game won’t immediately crash, it just happens somewhat randomly after the game has been open for a while.
This has been happening for a while now, ever since I made maps downloaded on the server, so I’m guessing it has something to do with that? The game has around 77 maps, all ranging from small to massive. I am unfortunately not sure if it is tied to one map or just the large amount of them.
here is the game: Project Somnia - Roblox
Repro
To reproduce this bug is kind of tricky. It seems totally random, but it defiantly seems related with downloading large amounts of maps. It only seems to happen if a lot of maps are downloaded, and you have been playing for a while.
Background info on the game
I have no idea if this info will be useful so I will put it at the bottom
In my game maps are uploaded as models and then downloaded at run time, this is because the game has many maps but does not use teleport service (its slow and immersion breaking). So when a client needs a map, it will check if its been downloaded, if not it asks the server to download it. The downloaded map is then put into replicated storage for any client to use. I really wanted to avoid having the server download it. Instead having only the client that needs the map download it, but as far as I know its not possible to download an asset on the client.
Note
I hope this report is somewhat helpful in fixing this bug. If you need more info I will try and get anything else needed, just let me know.
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!