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. Dismiss Notice

Large land with great vegetation Editor Lag

Discussion in 'Editor & General Support' started by Meurer, Jul 4, 2023.

  1. Meurer

    Meurer

    Joined:
    Nov 30, 2014
    Posts:
    9
    I have a big project, I want to make a survival game. For that I bought some help assets and one of them was GAIA for terrain creation. GAIA works very well, however with a very large terrain some problems happen.

    All LODS are working correctly, I researched a lot and saw many talking about terrain stream, but it is very bad to work with terrain stream, is there any other way to work with giant scenes in unity3d without breaking them in several scenes?

     
  2. Reid_Taylor

    Reid_Taylor

    Joined:
    Oct 9, 2019
    Posts:
    57
    Are the LODS for terrain or just vegetation? Unity's default LODS can provide horrible performance. If you have tons of vegetation, then that might be the issue and not the actual terrain. Unless the terrain has some exceedingly mega amount of vertices, then that probably isn't the issue.

    (I am unfamiliar with GAIA) Are you just rendering terrain? Is there vegetation/trees (if so, how much)? What is your batch count and vert count? Is the terrain a single mesh or is it broken up by cells into smaller meshes for LOD purposes?
     
  3. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,877
  4. Meurer

    Meurer

    Joined:
    Nov 30, 2014
    Posts:
    9
    I have a plot of 10km cut in 4x4 with vegetation in all
     
  5. Meurer

    Meurer

    Joined:
    Nov 30, 2014
    Posts:
    9
    interesting, do you know if it is easy to use with gaia? and also what is the biggest terrain it supports?
     
  6. ShilohGames

    ShilohGames

    Joined:
    Mar 24, 2014
    Posts:
    2,984
    Yes, you can use Nature Renderer with Gaia, but you need to be careful with it. By default, some of the Gaia runtime code will enable and disable terrain and vegetation stuff as it goes in and out of view. When the Gaia runtime does that, it can turn on both Unity vegetation and Nature Renderer vegetation rendering at the same time, and that can cause performance to get even worse. Gaia does not detect Nature Renderer. You will need to manually edit at least one of the Gaia runtime scripts to prevent the issue if you plan to use Nature Renderer.
     
  7. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,877
    Yes all true. It works great with Gaia and can take you from < 30fps to >60FPS with almost no work - but the interactions between the 2 assets need to be monitored closely and a couple of changes here and there made to make them work flawlessly. Very much worthit IMO
     
  8. gilley033

    gilley033

    Joined:
    Jul 10, 2012
    Posts:
    1,151
    Hi there,

    Shameless plug, but I have a new product coming to the Asset Store that is designed around reducing the pain points related to streaming. It's called S.A.M. - The Streamable Assets Manager and should be available this week or next.

    You can read more about it here. There is also a promo video for it available on YouTube.

    If you are looking to split up your big terrain into smaller slices, you can check out my other product, Terra Slicer, which will also be available this week or next. More info can be found here.

    I don't want to flood this thread with anything else, so if you are interested, feel free to post in the threads in those links, or PM me if you have any questions.
     
  9. Meurer

    Meurer

    Joined:
    Nov 30, 2014
    Posts:
    9
    I really liked it, I'll keep an eye out when it launches!
     
  10. Meurer

    Meurer

    Joined:
    Nov 30, 2014
    Posts:
    9
    Do you have a discord channel?
     
  11. gilley033

    gilley033

    Joined:
    Jul 10, 2012
    Posts:
    1,151
    Yes we do!

    Link