Search Unity

Question Why part of terrain become black in exe after I build settings?

Discussion in 'ML-Agents' started by Dream_Surpass, Apr 4, 2023.

  1. Dream_Surpass

    Dream_Surpass

    Joined:
    Dec 2, 2022
    Posts:
    18
    upload_2023-4-4_11-37-17.png
    It was normal in Unity Editor running,but after I build settings and run exe, part of terrrain become black(when camera is close), and if I move the camera higher, the terrain become normal again?

    Any ideas? Thanks a lot.
     
  2. al3xj3ns3n

    al3xj3ns3n

    Joined:
    Sep 10, 2018
    Posts:
    21
    Why'd you post this in ML-Agents?

    My immediate first guess is something's preventing the terrain from rendering at all, if you change the background color on the camera does it change the color for the terrain?