Increase max Grass Outputs amount

Hey!

I’m working on a vast landscape using procedural foliage using grass types and everything seemed to be going fine until I ran into this crash:

Error: appError called: Assertion failed: Pair.Value.Num() == NumElements [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeGrass.cpp] [Line: 1477]

I figured that is related to the maximum amount of grass types outputs I can use. Does anyone know either a workaround or a fix for this issue?

This is the portion of my shader that sets the logic for the grass types:

@Renan_Beltrami1 You could try using the Landscape Mode => Landscape => Manage =>Resize tool (looks like a mountain with 2 arrows pointing up)

Maybe if you change the Section size or Sections per component you can get an increase in density?

(in the cpp file there is a check for height map data and number of grass segments) so it might change something.