Page 1 of 1

[0.18.22] Performance hit for dropping objects when ground is cluttered

Posted: Sat May 02, 2020 5:20 pm
by AngledLuffa
Another performance issue we found when playing the Natural Evolution mod is when large amounts of objects were placed on the ground. The mod brings back alien artifacts dropping when aliens die. When many artifacts drop on the ground at the same time, and there is no good location for them to drop, the performance takes a big hit. Possibly the logic for figuring out where to drop the artifact becomes expensive when looking for a place to put it.

Actually, I'm not sure if that logic is in the mod or in the game engine itself.

If this will be investigated, I can send a save which replicates the issue.

Re: [0.18.22] Performance hit for dropping objects when ground is cluttered

Posted: Sat May 02, 2020 5:24 pm
by Klonan
Nothing here is a bug

The mod is taking things to an extreme, spawning thousands of items

Re: [0.18.22] Performance hit for dropping objects when ground is cluttered

Posted: Sat May 02, 2020 9:38 pm
by Rseding91
Also note, the item-drop-on-death code is already heavily optimized to the point where I don't know of any other improvements that could be made.