Agent not move in the android build

I have a dynamic environment that is spawned at runtime. I’m using a Grid Graph and a Procedural Graph Mover. Everything works fine in the editor, but when I build the project for Android, the agents can’t move. It’s as if the Grid Graph doesn’t scan properly or only scans a very small area (around one meter). The agent only moves within a tiny space.

My expectation is that what I see in the editor should be the same as what I see on the Android build. I’ve spent a lot of time on this issue. There are no errors in the build. How can I fix this? It’s very frustrating and time-consuming to build and deploy to Android every time just to test.

It doesn’t make sense that there’s a difference between the editor and the build. What do you recommend to resolve this?

Thanks.

  • A* version:5.3.4
  • Unity version: 6.0.41

Hi

Does the player log tell you anything interesting?

Okay, I found the solution. It was my mistake. :frowning:
The issue was that the scan completed before the environment was spawned.
If we run the scan after the environment is spawned, it works correctly now.

Thanks!