h8man / NavMeshPlus

Unity NavMesh 2D Pathfinding
MIT License
1.8k stars 209 forks source link

Latest release does not bake using Physics Colliders, works fine otherwise #159

Closed leowilbur110 closed 1 year ago

leowilbur110 commented 1 year ago

Thank you for this library btw, I've used it well in the past but now it doesn't work with the physics colliders :(

Latest release does not bake using Physics Colliders, works fine using the render meshes.

I've tried adding the various components in specific order (per other issues I explored).

I also tried adding a composite collider 2d to a very simplified case with a single object and it still doesn't work. I also put the object inside my layout btw and it doesn't work.

I'm using 2021.2.19f1.

FYI I'm not using tilemaps or anything like that and your older libraries did work the way I intended.

One quick note: when I bake using physics colliders I see a strange grey outline show up but it does not bake and show the blue navigation mesh that I'm expecting with the physics colliders removed.

h8man commented 1 year ago

Latest release or 2021.2.19f1?

Colliders are supported only form #if UNITY_2019_3_OR_NEWER

leowilbur110 commented 1 year ago

@h8man on no problem, will upgrade my project later. Thx!

Again, great job on this :)

h8man commented 1 year ago

reopen if needed