Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Ingame baking with navmesh plus

Discussion in 'Scripting' started by Seehundy1995, Mar 23, 2021.

  1. Seehundy1995

    Seehundy1995

    Joined:
    Mar 22, 2021
    Posts:
    6
    Hello,

    i use navMesh plus for pathfinding in my 2D Game.
    How i bake my navMeshsurface2D ingame per Script? For a 3D Surface i need to write „navMesh.BuildNavMesh();“, but in the Inspektor i cant order my 2D navmeshsurface in the Variable - public NavMeshSurface navMesh. To order a usually navmeshsurface3D is no Problem...

    please i Need help!!!
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,336
    What is NavMeshPlus? Is it part of the core Unity package? I am not familiar.

    What you you learned from the documentation for it regarding your issue?

    How to report your problem productively in the Unity3D forums:

    http://plbm.com/?p=220

    How to understand compiler and other errors and even fix them yourself:

    https://forum.unity.com/threads/ass...3-syntax-error-expected.1039702/#post-6730855

    If you post a code snippet, ALWAYS USE CODE TAGS:

    How to use code tags: https://forum.unity.com/threads/using-code-tags-properly.143875/