View Issue Details

IDProjectCategoryLast Update
0026078AI War 2GUIJan 9, 2022 1:53 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product VersionBeta 3.781 Tachyon Healing Reversal 
Fixed in VersionBeta 3.782 Smooth Reloading 
Summary0026078: Slow mod-hot-loading
DescriptionWhen I try to change mods in game it takes 15-20 seconds (longer than it takes for the application to start on my machine). When this is happening the screen stays unchanging. I actually thought this was a bug and that the game had frozen/crashed.

I'd suggest either moving it to a background thread or providing some sort of UI feedback that there actually is progress being made. If it took 20 seconds but there was a progress bar or a "Loading..." thing moving so I could see the game wasn't frozen, I think that would be okay.
TagsNo tags attached.

Activities

Chris_McElligottPark

Jan 9, 2022 1:53 pm

administrator   ~0063719

Thanks!
* Every since the great refactor has started, reloading the xml has been a really sluggish-feeling thing with no UI feedback for a lot of the time, because some resetting of variables was happening on the main thread.
** This now happens on background threads, and shows you proper ui feedback the entire time.
** In general, it is expect that the whole process should take about 6-7 seconds if the original load of the game took you 9-12 seconds. But if it's running slower on your machine for some reason, you'll at least see what progress it is making, and how long it takes. Speaking for myself, 6-7 seconds of no feedback feels way longer than 9-12 seconds with feedback; so subjectively it seems a lot faster now than it was, but I can't tell if that's actually faster (it is on a background thread, after all), or if it just feels better.


The initial approach I took was different, and very much a bust. The second route I took seems to have paid off well. I'll be curious to hear if this takes 15-20 seconds for you still (that would be curious), or not. I really do feel like it was taking longer before these updates, but I did not have a stopwatch out.

Issue History

Date Modified Username Field Change
Jan 7, 2022 6:19 pm BadgerBadger New Issue
Jan 7, 2022 6:19 pm BadgerBadger Status new => assigned
Jan 7, 2022 6:19 pm BadgerBadger Assigned To => Chris_McElligottPark
Jan 9, 2022 1:53 pm Chris_McElligottPark Status assigned => resolved
Jan 9, 2022 1:53 pm Chris_McElligottPark Resolution open => fixed
Jan 9, 2022 1:53 pm Chris_McElligottPark Fixed in Version => Beta 3.782 Smooth Reloading
Jan 9, 2022 1:53 pm Chris_McElligottPark Note Added: 0063719