Search Unity

Making terrain static kills performance.

Discussion in 'Scripting' started by Deleted User, Jul 1, 2015.

  1. Deleted User

    Deleted User

    Guest

    I have a very large model as my terrain, it contains many meshes because it hit unity's limit. I marked them all as static and when I play it is extremely low framerate and if I move my mouse just a tiny bit the camera flies around.

    I thought marking as static was supposed to make it faster? I don't believe I am moving it via script anywhere.
     
  2. lordofduct

    lordofduct

    Joined:
    Oct 3, 2011
    Posts:
    8,531
    How big of a difference in framerate is it when you don't have it marked static?

    Is it also slow when not static?

    Maybe you just have to complex of meshes (you did say you hit unity's limit).
     
  3. Deleted User

    Deleted User

    Guest

  4. GroZZleR

    GroZZleR

    Joined:
    Feb 1, 2015
    Posts:
    3,201
    Is it possible you're hitting a memory limit and now have to constantly push data between RAM and VRAM?
     
  5. Deleted User

    Deleted User

    Guest

    Only 880MB ram usage for the unity process. If thats what you mean