Is there a multithreaded AI solution for Unity?

Hi,

I am creating a mobile game with about 50 enemies on screen at the same time. The rendering was solved using Mesh Animator.
However what about the AI?
I was considering Behavior Designer but it seems to be single threaded.
I can create my own AI using Jobs and burst compiler but wanted to know if there are out of box solutions that I am not aware of.

Thanks for advance.

It is 50 enemies and not 50 thousand. Not much point in trying to multithread it unless you’re running into performance problems.

4 Likes

I would recommend building your own custom solution for your specific game using DOTS. The Jobs system in DOTS is far more scalable than a typical multi-threaded system.

I am already having performance problem with simple AI and physics.

Thank you. That seems to be the most plausible solution.