Selling units to fix lag


#1

I’ve notice that I play the game at about 1/2 or 1/3 speed even at x4 speed, but sometimes it will rapidly speed up until I place down a new unit.

So I started experimenting and realized that if I place a unit down and then sell it, all lag vanishes and my game plays at the proper speed. Though I don’t understand why this is happening. You can experiment if it happens for you as well by placing 6 archers, running some enemies, placing a Cleric and then selling it.


#2

… bump? Does this not happen for anyone else?


#3

I’ll try to repro this on Monday :slight_smile:

One thing that might be happening: When a unit is sold, that counts as the object being destroyed, which triggers a minor memory refresh. I’ll run the memory profiler and see exactly what is happening here.