h8man/NavMeshPlus

Error Null

ImperialCrise opened this issue · 2 comments

I encountered the following error (see attached image) while attempting to bake a NavSurface, wherein a Prefab contains a NavigationModifier that overwrites the walkable state.

Version Nav: 0.2.18
Version Unity : 2023.2.0b2
Version AI Navigation: 2.0.0-pre.3 (RC)

image

image

h8man commented

Something produces Mesh that is null. You can troubleshot it with debugging. If you find issue Ill try to fix it

                case NavMeshBuildSourceShape.Mesh:
                {
                    var m = src.sourceObject as Mesh;
                    result.Encapsulate(GetWorldBounds(worldToLocal * src.transform, m.bounds));
                    break;
                }
h8man commented

No response