Problem with Unity terrain

I’m trying to create a grid graph on Unity terrain but there is something weird going on. When I scan the terrain it will “correctly” find the blocked areas, but the graph is somehow mirrored. For example if I draw a steep mountain on -10:-10 coordinates on the terrain the graph actually has the blocked area on opposite side of the origin, at 10:10.
Everything works perfectly if I create a model in blender and use it for the scan.
I’m using Unity 5.0.0f4 and latest beta of A*.

It seems that there was a bug in Unity terrain and updating to 5.0.1 fixed the issue.

1 Like