Search Unity

Terrain transparent in build

Discussion in 'Editor & General Support' started by videon, May 20, 2015.

  1. videon

    videon

    Joined:
    Feb 22, 2015
    Posts:
    10
    Dear fellows,

    I have the following problem: when playtesting my game in the editor, everything looks and works fine, but as soon as I build and run it, the terrain seems to be kind of transparent, the assets shine through it - see screenshot below.
    Any idea on how to fix this?


    Thanks for reading.
    Screenshot 2015-05-20 16.26.47.jpg
     
  2. videon

    videon

    Joined:
    Feb 22, 2015
    Posts:
    10
    Okay, I figured it out. I built the game again and it was gone.
    Can be closed now...
     
  3. DaveTheVR

    DaveTheVR

    Joined:
    May 15, 2015
    Posts:
    2
    I have a similar effect. What did You change?
     
  4. Aurore

    Aurore

    Director of Real-Time Learning

    Joined:
    Aug 1, 2012
    Posts:
    3,106
    Please mention how you fixed this issue to help others in the future.
     
    hippocoder likes this.
  5. fooj

    fooj

    Joined:
    Mar 17, 2013
    Posts:
    9
    Same issue here.
     
  6. SIV

    SIV

    Joined:
    May 7, 2014
    Posts:
    219
    I think its something related to shaders (we add it to build i guess), i remember i fixed it before but now i cant remember it... and guess what, i have same issue now lol
     
  7. SIV

    SIV

    Joined:
    May 7, 2014
    Posts:
    219
    Yep its shader problem, i added a couple of more shaders o my graphics settings and now it works super fine, i hope it help someone :)

     
    CraftingBenchGames likes this.
  8. fooj

    fooj

    Joined:
    Mar 17, 2013
    Posts:
    9
    Didn't make it for me, still with the issue. Any ideas?
     
  9. Mogulbasher

    Mogulbasher

    Joined:
    Feb 26, 2014
    Posts:
    42
    We are suffering the same issue. There are various things we have noticed. The issue is appears to be connected to the recent graphics card driver updates. It applies to DX11 builds Other than that none of the solutions posted here has solved the issue accross all platforms. It fixes it for some...
     
  10. fooj

    fooj

    Joined:
    Mar 17, 2013
    Posts:
    9
    Yeah, I keep trying here. We have an old (too old) version of the project without the bug so is project related. Tried a bunch of things, re-adding the camera, resseting shaders, using same project settings, comparing terrain settings values and still no success.
     
  11. fooj

    fooj

    Joined:
    Mar 17, 2013
    Posts:
    9
    Any update on this?
     
  12. fooj

    fooj

    Joined:
    Mar 17, 2013
    Posts:
    9
    It only happens on the build.
     
  13. DGSpitzer

    DGSpitzer

    Joined:
    Sep 14, 2015
    Posts:
    1
  14. videon

    videon

    Joined:
    Feb 22, 2015
    Posts:
    10
    I did not change anything. Rebuilding the project was all that I did and strangely enough, it worked.
     
  15. DOMAB

    DOMAB

    Joined:
    Mar 10, 2018
    Posts:
    1