Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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?