AI basic "follow home" infinite loop bug destroying CPU

LadyHawk shared this bug 9 days ago
Reported

Hello!


Found a terrible bug by accident that grinds the game to a crawl with CPU thread use skyrocketting more and more with no end in sight. I didn't stick around long enough in these conditions to see if it would actually crash the game.


To reproduce is very easy. Get a drone, set its task to "follow home", select a beacon that's attached to the drone itself, and set the range to 100-150m or anything to make the drone go away from it. In my case, a drone merge blocks to a larger ship when not in use, and that ship has the homing beacon on it. I don't know if AI basic prevents selection of a beacon on itself, or if that's purely accomplished through merging to the grid with the beacon.


The reason I found this bug is because the drone has an event controller on it that checks for "connector to lock/unlock" to enable/disable AI flight on the drone. I know I should be using the "merge block merged" check in the event controller, BUT, the event controller doesn't actually check if the merge block is MERGED. It checks if the merge block is POWERED ON/OFF! So that's no good!


Could you please fix one or the other, or preferably both? :D

Thanks!

Replies (1)

photo
1

Hello, Engineer,


We're sorry to hear you're experiencing issues.

We've successfully reproduced the issue you've described. We've added your report to our internal system.

We'll update the thread when we have more information.


Kind regards,

Keen Software House,

QA Department

Leave a Comment
 
Attach a file