My game is very big but loads very very slow and crashes? (URGENT)

Hello, I am wondering how I can make my game which has so much assets load without crashing? It sometimes crashes and loads very slowly whenever I play it. I’ve tried asset loading screens using PreloadAsync() and ContentProvider but it would always give me the error “Bad allocation” Does anyone know how I can load my game without it crashing? It’s alright if you can something that loads the game slowly without crashing. Thanks!

You should add an optimization system, to disable some high-end graphics, for low-end devices. It appears while the game is loading.

1 Like

Alright thank you, but I have no idea how to make that might need examples, because I only specialise in building and sometimes scripting.

The game also takes up so much memory when I load it, I need some kind of asset loading screen or something similiar to that, that can just load assets one by one slowly or fast. Without it having the error bad allocation.

Did you enable Streaming? It can help with loading times and performance.

https://create.roblox.com/docs/optimization/content-streaming

:PreloadAsync uses to correctly load asset, not optimize. To optimize experience you may view this topic, describing on how to do it : Performance considerations, improvements, and optimizations when making a game

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.