Jump to content

LongUpdate function in minionspawner component causes game to freeze


PuffinBy
  • Version: PC/MAC/Linux Pending

So my friend ran into this problem, when he was traveling from RoG to SW, after he had stayed in RoG for about 100 days.

Then the game froze when SW world was trying to catch up. Here's a screenshot, the task manager said the game's memory use rose to more than 3g.

5a6bf8edae65d_(92).thumb.png.6c7024d332465c8f2104134be6adbb6d.png

He told me he had a big lureplant farm in SW, like 40 or so lureplants were planted there. So I thought that might be the problem. 

At last I added a mod. The world no longer freezes. 

AddComponentPostInit("minionspawner",function(self)
	self.LongUpdate = function() end
end)

I did some testing: when I plant 10 lureplants on no-eyeplant-turf. Console type "LongUpdate(10*480)", the game lags for a few second, memory rise a bit. When I do LongUpdate(30*480), freezes a bit more, memory rise to 3g. and in cases longer than that, the game will say "out of memory" and shut down.

When there is no lureplant in the world at all, even "LongUpdate(100*480)" can be handled easily, without apparent change in memory.

edit: upload his save and log.

219740.7z

log.txt


Steps to Reproduce
Plant some lureplant in SW, try console type LongUpdate(100*480).



User Feedback


There are no comments to display.


×
  • Create New...