Ludeon Forums

RimWorld => Bugs => Topic started by: Mihsan on April 15, 2016, 03:45:55 PM

Title: (A13) Stuck builder causes performance drop.
Post by: Mihsan on April 15, 2016, 03:45:55 PM
1. Circumstances: had some strange performance drop (constant freezes kind of). It was showing from 9h to 0h, then at night it was OK.
2. Found out that I had worker stuck between two wall. Seems like he was spamming some stuff to game's logic. At 0h he was going to sleep so performance was good until the moment he wakes up.
3. Expected: stuck worker not killing performance of the game.
4. Reproduce: build wall around your colonist.

[attachment deleted by admin - too old]
Title: Re: (A13) Stuck builder causes performance drop.
Post by: TheNewNo2 on April 16, 2016, 04:23:08 AM
I noticed someone walling themselves in before, though didn't particularly notice any performance drop.

I do wonder if colonists are walling themselves in more with this update. They get to a corner, build the walls to each side, then realise they can't get out.
Title: Re: (A13) Stuck builder causes performance drop.
Post by: Mihsan on April 16, 2016, 08:46:11 AM
Quote from: TheNewNo2 on April 16, 2016, 04:23:08 AM
I noticed someone walling themselves in before, though didn't particularly notice any performance drop.

I do wonder if colonists are walling themselves in more with this update. They get to a corner, build the walls to each side, then realise they can't get out.
I saw people stuck behind wall too. But exactly this configuration causes performance drop. Had this two times already.
Title: Re: (A13) Stuck builder causes performance drop.
Post by: TheNewNo2 on April 16, 2016, 04:43:08 PM
Just had someone wall themselves in (twice), and it caused the performance loss.
Title: Re: (A13) Stuck builder causes performance drop.
Post by: Fluffy (l2032) on April 16, 2016, 06:22:33 PM
It's a nice warning that something is wrong though, otherwise you'd just find a skeleton behind a wall a couple of weeks later :P
Title: Re: (A13) Stuck builder causes performance drop.
Post by: Commander Beanbag on April 17, 2016, 10:01:47 PM
Phew, I thought it was the ol' late-game hitching making a return.
Title: Re: (A13) Stuck builder causes performance drop.
Post by: ison on April 18, 2016, 07:40:17 AM
Could you upload the savefile? I've tried to do it, but I didn't notice any performance drops.

//edit: I've optimized construction job a little bit, but I'm not sure if it will solve the issue
Title: Re: (A13) Stuck builder causes performance drop.
Post by: Mihsan on April 18, 2016, 04:19:35 PM
Save file attached. See for colonist "Sparkles". Had to recreate this situation since I lost that save file. Also had to kill all plants to get filesize under forum's limit.

P.S.: This is also done on my 2nd PC, so this performance drop should not be my hardware problem.

[attachment deleted by admin - too old]
Title: Re: (A13) Stuck builder causes performance drop.
Post by: mumblemumble on April 18, 2016, 05:40:16 PM
Can confirm this happens,  it's a very small stuttering every few seconds,  like a split second lag spike.
Title: Re: (A13) Stuck builder causes performance drop.
Post by: ison on April 19, 2016, 07:26:52 AM
Thanks for the savefile. The performance drop is caused by the fact that the stuck colonist is looking for jobs more often than other colonists. In order to fix this we would have to optimize all work givers. Anyway, it's not really a bug, locking.