Search Unity

Bug Paint holes creating hole but still showing ground texture

Discussion in 'World Building' started by Nova8808, Jul 18, 2020.

  1. Nova8808

    Nova8808

    Joined:
    Aug 3, 2013
    Posts:
    7
    Using HDRP unity 2019.4.3 or 2019.4.4 (edit also 2020) when I use terrain tools to paint a hole it cuts the hole (player/physics falls through it) but the ground texture stays. Anyone know a way to fix this?
     
    Last edited: Jul 25, 2020
  2. Nova8808

    Nova8808

    Joined:
    Aug 3, 2013
    Posts:
    7
    Added a video to show what is happening. Anyone have a fix for this?
     
  3. chriscode

    chriscode

    Joined:
    Mar 2, 2015
    Posts:
    49
    This also a problem with 2019.4.12f1 (standard renderer) and others
    If you bake the navmesh, it has holes in it.
    Just doesn't show them, which is annoying!
     
  4. wyattt_

    wyattt_

    Unity Technologies

    Joined:
    May 9, 2018
    Posts:
    424
    Hi! Could either of you provide explicit steps to reproduce this? That would be greatly appreciated. I can then make a bug report from that.
     
  5. VoxelBoxer

    VoxelBoxer

    Joined:
    Feb 3, 2021
    Posts:
    1
    I'm still having this issue while trying to build a golf simulator in Unity 2019.3.9, standard render pipeline. I've used the Terrain Tools "paint holes" to remove the terrain in the unity scene where I need golf holes. I've imported a textured piece of geo from Maya to place under the hole, with a golfball-sized hole sculpted in to the geo.

    upload_2021-3-17_11-14-1.png

    upload_2021-3-17_11-14-35.png

    But when I run the simulator, even though the collider is gone from the terrain where the hole is, it continues to texture the tiling grass texture over the hole-geo we inserted. You can sink a ball, but you can't see the hole, because it is covered by the terrain texture even though there is no terrain there to support it.
    upload_2021-3-17_11-16-45.png

    upload_2021-3-17_11-16-59.png
     
  6. stekra

    stekra

    Joined:
    Dec 3, 2015
    Posts:
    4
    Looked into an issue where Terrain Holes would show up in editor but not in build in Unity 2020.2/.3 HDRP (Collider etc. was fine, only visual). After a long time searching I found the checkbox "Terrain Hole" in HD Render Pipeline Asset > Rendering. Toggling this on fixed my issue (Default is off. For build time, apparently?).
    Maybe related, maybe not. Maybe it can help someone in the future save some time searching (Closest I could find was this thread. Not much out there for Terrain Holes). Couldn't reproduce the editor bug, sorry.
     
    Alfafar and wyattt_ like this.
  7. chriscode

    chriscode

    Joined:
    Mar 2, 2015
    Posts:
    49
    Broken - 2020 but I'm on the built in renderer - perhaps it's never gonna get fixed!? Or...
     
  8. Alfafar

    Alfafar

    Joined:
    Dec 22, 2022
    Posts:
    2
    salute
     
  9. snipshotmedia

    snipshotmedia

    Joined:
    Nov 13, 2023
    Posts:
    10
    If I enable "Draw Instanced" in terrain settings, the holes render but all my textures disappear. This is frustrating.
     
  10. bpolaro

    bpolaro

    Joined:
    Mar 24, 2014
    Posts:
    17
    I found that if you disable the hole compression in the terrain settings it works.