Einstein-Engines icon indicating copy to clipboard operation
Einstein-Engines copied to clipboard

Lavaland map preloads are slow and occur on any (?) map load, including dev

Open Inorien opened this issue 8 months ago • 2 comments

Description

Lavaland maps are preloading with any map load, this greatly slows down Tools build launches as well as Release build startrounds.

Reproduction

Compare Server start times between a build from before and after all the lavaland stuff was added some time in the last couple of months

Expected behavior

Not spending time loading maps that aren't used

Additional context

It seems Lavaland stuff are the only maps that do this

Very annoying when you run Content Server + Client on a Tools build, your Client starts up and you hit Direct Connect but you can't because the server is still preloading Lavaland stuff you aren't even going to use

Inorien avatar Mar 16 '25 14:03 Inorien

Goob disables lavaland on debug but I had it enabled for testing, ill probably disable in in a PR soon

eris-webserv avatar Mar 16 '25 17:03 eris-webserv

How do I disable it on something like Release? I don't think my downstream is ever going to use Lavaland stuff, but every time any map loads on a running server the round takes noticeably longer to start because the server is preloading all the Lavaland stuff that isn't even going to be used. I'm not familiar with how Lavaland works (we've never had it on /vg/), does it makes sense for it to be opt-in by default? Like something you add to a map to make it accessible (and only on that condition run all those preloads)? Or is it fundamental and has to preload like this?

Inorien avatar Mar 18 '25 04:03 Inorien