My team and I have been working on our game, which is a racing game. We have a bunch of maps, and we have all been noticing that studio is lagging considerably as we have added more and more. Here is the plot twist though, every single one of them are in server storage! In fact, besides the lobby(very little parts there are virtually no parts in the workspace. As if this wasn’t unusual enough, everybody is getting lag only when: joining or leaving studio, or starting a play test or ending a play test. On top of that there isn’t any lag like that in the middle of play testing or using the roblox player.
I am kinda at a loss of ideas as to what could be causing this as we have very little outside source scripts, and most parts are in server storage. We are seeking help here because no one on the team can figure this out, and because you veterans probably know the answer as to what could be causing this.
I have a very basic understanding of serverstorage and its effects on memory usage, but i always assumed anything stored in there needs to be replicated from server to you locally, even in studio. This would explain the lag if you have lots of things stored in there.
That being said i tried your game and no lag on mobile, so its only an issue with studio thankfully.
Anything in ServerScriptService and ServerStorage isn’t replicated to the client in a regular server, but I believe it’s all loaded in in Studio. You need to be able to drag things into and out of ServerStorage, so everything inside it needs to be loaded.
Yes? Studio tests use an internal server on your machine. Roblox doesn’t host Studio tests on their servers, which is why you don’t need an internet connection to do a playtest in Studio.
wished Roblox actually allowed offline studio, i know it has to contact the mothership, but why not make it cut connections in some cases, or make pseudo local versions?
In Studio, it’s being loaded in like everything in Workspace is, aka the more stuff the more lag, or longer loading times. I don’t get what’s so hard to understand about this.
I wanted to confirm that, but then what I don’t understand is how games like super doomspire can actually be worked on, if they have those mega maps, that are being loaded all in one game. If we are taking minutes to load our studio with only our maps which are nowhere close to the part count of super doomspire how come we are having so much trouble?
Are you sure this isn’t a hardware issue of yours? Or an issue with general optimization with your level? Maybe try changing the graphics mode setting in Studio to Vulkan (File>Studio Settings>Rendering>Graphics Mode>Vulkan and restart Studio)?