Search Unity

Bug Terrain hole not visible after build.

Discussion in 'General Graphics' started by koirat, Apr 30, 2021.

  1. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,073
    In editor and play mode it works properly.
    After build my hole is visually closed but collider is working properly so I can fall through a hole.

    Unity3d 2020.3.3f1
    HDRP 10.4.0
     
  2. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,073
    BUMP. Take a look at this screenshot. (shadow is occluding it a little but you can see clearly there is no hole.)
     
  3. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,073
    Finally found it.
    You have to enable Terrain Holes in HDRP Asset.
    You should give a warning during the edition or else people will have the same problem as me and you will get a lot of posts about this.
     
  4. ETDesign

    ETDesign

    Joined:
    Nov 19, 2014
    Posts:
    2
    Thanks, i was having the same issue. Good luck with your game !
     
  5. dexmex001

    dexmex001

    Joined:
    Oct 9, 2019
    Posts:
    24
    Thanks a lot, life saver :)
     
  6. se120182036

    se120182036

    Joined:
    Jun 30, 2020
    Posts:
    1
    Terrain Holes is Enabled but still not working
     
    SomethingElse12 likes this.
  7. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,073
    But it is working in editor ?
    Check if you set it in proper asset.
     
  8. dexmex001

    dexmex001

    Joined:
    Oct 9, 2019
    Posts:
    24
    Maybe not set on all HDRP Asset. Default have more then one hdrp asset.
     
  9. icebytestudio

    icebytestudio

    Joined:
    Mar 26, 2015
    Posts:
    1
    I have the same problem and I checked and I don't have the HDRP package.
     
    akareactor likes this.