Some of my footbot (not always the same) will directly go to the function destroy(). The proportion is between 2-10 footbot destroying themself out of 100 footbot. The screenshot show what is happening.
The code to write the log is in the destroy function and the only way to get there is the end of the experiment (50000 ticks normally ).
After spending some times looking for an answer or something wrong in my code that would run the destroy function, I don't see anything wrong and get 0 error of compilation. Is this normal or something like the 2 footbot spawning in each other and destroying each other?
It would be great to know how to avoid this problem because I need the right amount of footbot.
Thank a lot for the futur response,
- Capture d’écran 2019-03-14 à 15.12.53.png (151.28 KiB) Viewed 17194 times