1
\$\begingroup\$

I'm using Unity 2019.3.7f1 free version to create a small game project. I have a large terrain which I want to fill with grass. To achieve that I'm using the grass brush tool provided with the terrain.

However I cannot put more than, say 10'000 grass items (arbitrary, I don't know the real limit). Exceeding this amount, the grass objects contained in the first area I filled are removed, one by one, for a reason I cannot figure out. It's like there is a max limit of grass object I cannot exceed, and this is true for both grass textures and detail meshes.

On the other hand the amount of tree seems unlimited, which is puzzling me.

So my questions are:

  1. Is there a limited amount of grass objects available in Unity?
  2. If yes, how many grass objects are available, and may I increase this limit?
  3. Is it a known bug, or a known limitation of the Unity free version?
  4. May grass impact the global performances of the game? (I feel that my game is significantly more slow after I added the grass...)
\$\endgroup\$
3
  • 2
    \$\begingroup\$ It looks like you answered your own question in 4, which might give you some clues about points 1 and 3. \$\endgroup\$
    – DMGregory
    Commented Jan 28, 2021 at 2:55
  • 2
    \$\begingroup\$ forum.unity.com/threads/remove-grass-limit.482138 \$\endgroup\$ Commented Jan 28, 2021 at 7:44
  • \$\begingroup\$ The Great Grass Dilemma - too long to summarize beyond "it takes a lot of trial & error to get good wide area grass terrain" & a bit old at this point, but it may give you some ideas about solutions that are out there if you search around a bit. Good luck with your project! \$\endgroup\$
    – Pikalek
    Commented Jan 28, 2021 at 14:40

1 Answer 1

2
\$\begingroup\$

You need to increase detail density or detail resolution per patch. Those can be found in the Terrain's settings. https://docs.unity3d.com/Manual/terrain-OtherSettings.html

But, those limits prevent severe performance issues, so your game will be slower after changing the limit.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .