# Landscape Grass - Procedural Grass Floats

**URL:** <https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989>\
**Category:** World Creation\
**Tags:** unreal-engine, Landscape, bug-report, procedural, grass, question\
**Created:** [April 13, 2016, 4:46am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989 "2016-04-13T04:46:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![FBTH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FBTH](https://forums.unrealengine.com/u/FBTH)\
**Post date:** [April 13, 2016, 4:46am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/1 "2016-04-13T04:46:39Z")

</div>

I am using procedurally placed grass, and for a little while, I used the foliage tool. I am just now addressing this problem, I have had it for a long while, hopefully I can avoid having to re-create the landscape.

Here is the problem:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/f/2f6096cd06715346ce67731fa0411dd6bc23ca1c.png) ](https://i.imgur.com/wZqw2LK.png)

Painting over the area assumed to be where the grass is initially wanting to spawn, sort of works. Yet, doesn’t totally. I hope there is some way this can be fixed, I can’t select procedural grass, I can’t erase it. My only assumption is the height map is broken, or the landscape is corrupted.

Thank you to all who can help

Regards

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_550b73f9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_550b73f9](https://forums.unrealengine.com/u/anonymous_user_550b73f9)\
**Post date:** [April 14, 2016, 2:56am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/2 "2016-04-14T02:56:07Z")

</div>

Hi FBTH,

To be clear this is the Landscape Grass setup using a Landscape Grass node in the material, right?

In the editor, can you try the command “grass.flushcache” ?

If that doesn’t make it place the grass correctly, can you please send me info on your video card, and make sure you are updated to the latest video drivers? We use render-to-texture to find the heightmap for grass instances, and prior to 4.9 we did a similar problem on some Macs and AMD video cards, but we haven’t see this problem for a long time.

Thanks

---

<div class="post-metadata">

**Author:** ![FBTH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FBTH](https://forums.unrealengine.com/u/FBTH)\
**Post date:** [April 14, 2016, 3:27am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/3 "2016-04-14T03:27:51Z")

</div>

Yes it is the Landscape Grass setup using a Landscape Grass node in material. However, I tried the command “grass.flushcache” to no avail ☹ I’m using Windows 10, here are my specs:

* * *

## Display Devices

```
      Card name: NVIDIA GeForce GTX 650
   Manufacturer: NVIDIA
      Chip type: GeForce GTX 650
       DAC type: Integrated RAMDAC
    Device Type: Full Device
     Device Key: Enum\PCI\VEN_10DE&DEV_0FC6&SUBSYS_0973196E&REV_A1
 Display Memory: 5035 MB

```

I hope this helps, also, this error is showing up on a team mates version as well. We use Perforce

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_550b73f9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_550b73f9](https://forums.unrealengine.com/u/anonymous_user_550b73f9)\
**Post date:** [April 14, 2016, 6:20am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/4 "2016-04-14T06:20:46Z")

</div>

We did make some changes in 4.10 that may have fixed this issue. Would you be able to open your level in the 4.10 editor, run that command in and see if things look any better?

---

<div class="post-metadata">

**Author:** ![FBTH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FBTH](https://forums.unrealengine.com/u/FBTH)\
**Post date:** [April 17, 2016, 4:40am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/5 "2016-04-17T04:40:20Z")

</div>

Sorry for the late reply, but I migrated the map to 4.11.1, and the editor would crash on load ☹ I will be back with an update, if I can get it to work for 4.10

Hopefully it will work with 4.10

---

<div class="post-metadata">

**Author:** ![Nebularium](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebularium](https://forums.unrealengine.com/u/Nebularium)\
**Post date:** [June 2, 2016, 9:26am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/6 "2016-06-02T09:26:29Z")

</div>

Kinda bumping this one. Have same problem, cant seem to find fix and it only happens in one small part of the Landscape. Tried painting layers that don’t have grass in them, grass still stays floating in air.

---

<div class="post-metadata">

**Author:** ![paradoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paradoc](https://forums.unrealengine.com/u/paradoc)\
**Post date:** [July 27, 2016, 2:06am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/7 "2016-07-27T02:06:39Z")

</div>

i’m having this issue in 4.12.5.  
occurred in an area where a landscape ramp was placed. using gtx 980 with driver 368.39  
tried grass.flushcache and also tried painting other layers without grass types. but problem persists.

[edit] just updated to geforce driver 368.81 and problem is still there

---

<div class="post-metadata">

**Author:** ![JackP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JackP](https://forums.unrealengine.com/u/JackP)\
**Post date:** [July 27, 2016, 2:18am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/8 "2016-07-27T02:18:39Z")

</div>

Hi, have you used the retopogolize tool (which moves the vertices off a rigid XY grid). Perhaps accidentally? There’s currently a bug where that tool breaks grass placement. The ticket for that bug is UE-33064.

You could try the editor console command “RemoveLandscapeXYOffsets” which should remove any XY offset data, and then the “grass.flushcache” console command which will rebuild grass data.

Does doing that solve the issue?

-

---

<div class="post-metadata">

**Author:** ![paradoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paradoc](https://forums.unrealengine.com/u/paradoc)\
**Post date:** [July 27, 2016, 2:22am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/9 "2016-07-27T02:22:17Z")

</div>

i was just logging back in to write that i was using retopologize. thanks much…your solution of ‘removelandscapexyoffset’ + ‘grass.flushcache’ worked.

---

<div class="post-metadata">

**Author:** ![FBTH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FBTH](https://forums.unrealengine.com/u/FBTH)\
**Post date:** [August 19, 2016, 11:45pm UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/10 "2016-08-19T23:45:39Z")

</div>

I finally got it to load after upgrading my RAM. Thank you , your solution worked!

---

<div class="post-metadata">

**Author:** ![Oskar\_Swierad](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oskar_swierad/32/465778_2.png) [@Oskar\_Swierad](https://forums.unrealengine.com/u/Oskar_Swierad)\
**Post date:** [March 2, 2017, 10:02am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/11 "2017-03-02T10:02:23Z")

</div>

The bug still happens (frequently) in 4.14. Resampling the terrain component size to the same resolution fixes it.

---

<div class="post-metadata">

**Author:** ![JackP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JackP](https://forums.unrealengine.com/u/JackP)\
**Post date:** [March 2, 2017, 1:40pm UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/12 "2017-03-02T13:40:04Z")

</div>

Hi Oskar,

Instead of resampling, does ‘removelandscapexyoffset’ followed by ‘grass.flushcache’ also work?

Do you have a project where the grass is broken that you could upload somewhere and send me a link to take a look? My email address is .porter at [epicgames.com](http://epicgames.com).

Thanks

---

<div class="post-metadata">

**Author:** ![TheSinkingSun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSinkingSun](https://forums.unrealengine.com/u/TheSinkingSun)\
**Post date:** [May 12, 2017, 2:30pm UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/13 "2017-05-12T14:30:29Z")

</div>

Just got same bug on 4.15.2, removelandscapexyoffset+grass.flushcache helped.

---

<div class="post-metadata">

**Author:** ![THEnvironments](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@THEnvironments](https://forums.unrealengine.com/u/THEnvironments)\
**Post date:** [October 26, 2017, 2:34pm UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/14 "2017-10-26T14:34:20Z")

</div>

Same bug on 4.17.1 but the removelandscapexyoffset command has been removed.

---

<div class="post-metadata">

**Author:** ![CA9.io](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ca9.io/32/1131026_2.png) [@CA9.io](https://forums.unrealengine.com/u/CA9.io)\
**Post date:** [December 6, 2017, 9:55pm UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/15 "2017-12-06T21:55:35Z")

</div>

4.18: command not removed?! worked well for me!!

---

<div class="post-metadata">

**Author:** ![amstradcpcuser](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amstradcpcuser](https://forums.unrealengine.com/u/amstradcpcuser)\
**Post date:** [December 9, 2017, 6:22am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/16 "2017-12-09T06:22:32Z")

</div>

Well, having same problem on 4.16. None of the commands worked. Im surprised after so many versions this issue still persists. Amazing.

---

<div class="post-metadata">

**Author:** ![V0xFire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@V0xFire](https://forums.unrealengine.com/u/V0xFire)\
**Post date:** [May 27, 2018, 9:13pm UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/17 "2018-05-27T21:13:58Z")

</div>

the commands have not been removed they are stiff functional in on the console you just cannot use autofill.

version 4.19.2

---

<div class="post-metadata">

**Author:** ![sidsings](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sidsings](https://forums.unrealengine.com/u/sidsings)\
**Post date:** [June 25, 2018, 10:07am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/18 "2018-06-25T10:07:51Z")

</div>

Hello. Can you tell a bit more? Can’t seem to find it console in 4.19.2

---

<div class="post-metadata">

**Author:** ![sidsings](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sidsings](https://forums.unrealengine.com/u/sidsings)\
**Post date:** [June 25, 2018, 10:10am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/19 "2018-06-25T10:10:58Z")

</div>

Hello. Any ideas how to fix this in 4.19.2 can’t seem to find removelandscapexyoffset commandline in console?

---

<div class="post-metadata">

**Author:** ![V0xFire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@V0xFire](https://forums.unrealengine.com/u/V0xFire)\
**Post date:** [June 25, 2018, 10:51am UTC](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989/20 "2018-06-25T10:51:47Z")

</div>

sidsings

The console doesnt contain the commands on autofil you have to copy them into the console directly

1. “RemoveLandscapeXYOffsets”  
then  
2)“grass.flushcache”

[Next page](https://forums.unrealengine.com/t/landscape-grass-procedural-grass-floats/353989.md?page=2)
