If you decide to do all the path finding and locations in a compute shader on the GPU your gonna have a bad time
Oh dear... Did you learn that from experience?