Skip to content

NullReferenceException in CalculateWorldBounds #102

@AbstractFlame

Description

@AbstractFlame

I've clicked on Rotate Surface to XY, have an agent and 2 tilemaps with NavMeshModifier.

StackTrace:

NullReferenceException: Object reference not set to an instance of an object
UnityEngine.AI.NavMeshSurface2d.CalculateWorldBounds (System.Collections.Generic.List`1[T] sources) (at Library/PackageCache/com.h8man.2d.navmeshplus@4a5aec0a09/NavMeshComponents/Scripts/NavMeshSurface2d.cs:458)
UnityEngine.AI.NavMeshSurface2d.BuildNavMesh () (at Library/PackageCache/com.h8man.2d.navmeshplus@4a5aec0a09/NavMeshComponents/Scripts/NavMeshSurface2d.cs:190)
NavMeshManager.Bake () (at Assets/Scripts/NavMeshManager.cs:20)
TileMapGenerator.Start () (at Assets/Scripts/TileMapGenerator.cs:21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions