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

Question Anyway to fix Navmesh not baking properly on a plane with a scale of (0.05,0.05,0.05) for AR game?

Discussion in 'AR' started by JZzz99, Feb 2, 2021.

  1. JZzz99

    JZzz99

    Joined:
    Jun 23, 2020
    Posts:
    3
    Has anyone encountered this issue? Navmesh is not baking properly on a plane with a scale that is less than 1. Does anyone know how to fix it? I was tweaking agent radius, height, and other parameters on the Navigation panel, but it still didn't work.
     
  2. bostonvaulter

    bostonvaulter

    Joined:
    Jan 14, 2021
    Posts:
    15
    I don't have experience with nav meshes but I'm pretty sure they don't work at that low of a scale:

    > Scaling physics or nav meshes down to be very tiny is a bad idea -- things will start falling through the world, and nav meshes will be too small to work properly

    from: https://forum.unity.com/threads/scaling-with-arfoundation.543953/

    So instead you need to adjust the scale on your AR camera as mentioned here: https://forum.unity.com/threads/is-...ion-scene-without-losing-the-effects.1050437/
     
    EWimsett likes this.
  3. JZzz99

    JZzz99

    Joined:
    Jun 23, 2020
    Posts:
    3
    Thanks for your help. I will have a look at the post.