Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity Terrain FPS drop ?

Discussion in 'Editor & General Support' started by Tanatosx3, Oct 28, 2015.

  1. Tanatosx3

    Tanatosx3

    Joined:
    Oct 28, 2015
    Posts:
    10
    Hi Guys

    Everytime i try to use terrain in a Game in Unity and start it on a mobile device it would have a massive drop on FPS to like 20, if i deactivate it it goes back to 60.

    Thinks i already have tried to improve FPS:

    1. Set the terrain to static (didnt helped)
    2. Set the textures to 16x16 (didnt helped)
    3. Setting extreme low qualtiy settings for android (helps a bit but game looks ***)

    Any ideas ?
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Did you try the profiler connected to your device?
    That way you can figure out what if the terrain is causing your problems.
    Is it the rendering , is it the cpu updates of the terrain...
    Try to lower your terrain quality setting for more fps on your mobile device.
     
  3. Tanatosx3

    Tanatosx3

    Joined:
    Oct 28, 2015
    Posts:
    10
    thanks for your reply :)

    I did try profiler on my pc but you can clearly see that if you deactivate the terrain the fps goes back up to 60, so its clearly the terrain wich is causing the low fps.



    do you mean that settings ? : http://docs.unity3d.com/Manual/terrain-OtherSettings.html
    I tried to move most of the stuff to the left but still low fps :/
     
  4. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    With settings i mean:
    • the Pixel Error value
    • The base Map Distance
    • Trees enabled / disabled / tree distance
    • What about detail objects?
    • Shaddow casting on /off
     
  5. Tanatosx3

    Tanatosx3

    Joined:
    Oct 28, 2015
    Posts:
    10
    i did like everything to very low and used low quality settings, its just a terrain with some mountains, no trees no grass, and it still takes like 20 fps if i activate it :/
     
  6. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,918
    The Unity terrain is very heavy even for my desktop PC, for mobile i would recommend using a mesh terrain in a custom way.
     
  7. Tanatosx3

    Tanatosx3

    Joined:
    Oct 28, 2015
    Posts:
    10
    okay thank you for the clear answere :)

    How i get a custom mesh terrain ?
     
  8. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,918
    You can design in a 3D software like Blender or there are some packs with fixed such terrains in the store, which can be reworked with textures etc

    I dont know any system to create mesh terrains though in the store