Search Unity

Terrain Data

Discussion in 'Scripting' started by cobanonur, Dec 6, 2012.

  1. cobanonur

    cobanonur

    Joined:
    Oct 31, 2012
    Posts:
    5
    Hey ... I have problem when I try to load Terrain(Prefab) from a server . Terrain Asset Missing and the Terrain Data is always empty . Any idea ?
     
  2. KingKongFu

    KingKongFu

    Joined:
    Sep 18, 2012
    Posts:
    4
    You may have to set up a co-routine and allow for the game to download the terrain data i.e. yield using a WWW or something like that until all the terrain files have loaded and then start your game. This might help. I would do this in the start or awake functions.
    Hope this helps