A* Pathfinding Project

Can't Enable Multithreading


#1

Hi, I’m having trouble enabling multithreading in the A* Inspector. Regardless of which option I select for the “Thread Count” field, I still see a message immediately underneath that says “Using a single coroutine (no threads) on your machine.”

single-coroutine

I’m developing on a Windows laptop with 4 cores, using A* Pro version 4.2.8 in Unity 2019.2.17f1, and I have a single Layered Grid Graph set up in my project.

Is there anything else I can try to get multithreading working? Would updating to 4.2.11 help? Thanks!


#2

Hi

Are you perhaps deploying for the WebGL target? WebGL cannot support threads so they are disabled for that target (even in the editor, to make testing more accurate).


#3

That was the problem! Sorry for making a thread for such a simple issue. Thanks!