Landscape Grass Type is not properly spawned before grass.FlushCache. And then only the grass in the scope is corrected

This method helped me, after changing Z to 0 and returning to the previous values, the grass appeared normally