Two landscapes causes issues with Foliage removal tool

We have two landscapes on our project; Landscape 1 is world map, and Landscape 2 is the battle maps. There is one Foliage system on the level (I don’t know if it’s possible to have more than one?) and it works perfectly fine on Landscape 1. However on Landscape 2 the removal tool doesn’t work correctly and instead of removing the Foliage, it shuffles the foliage there.

I don’t know what is the cause nor what is the reason for it, but doesn’t seem like an intentional feature.

Here is a video showing the issues and annotations explaining it one the run: VIDEO OF THE BUG

I’m using 4.7.1 version of Unreal. I don’t think it was bugged like this on 4.6, but I might be wrong. It feels like a new bug because I’m fairly sure I have added and removed foliage before on our Landscape 2.

Hi ,

Unfortunately I haven’t been able to reproduce this on my end as of 4.7.3. Are your battle maps on a sublevel/streamed level or is all of this in a persistent level? Are you just holding shift when deleting on the battlemaps?

They are on persistent level, the same map. Holding shift and LMB to remove (or try to remove) on both landscapes

Try updating to 4.7.3. I’m not seeing this behavior on my end so it is possible that it is no longer occurring. If it does occur let me know and I’ll be happy to try some more tests!

Upgraded to 4.7.3, but it’s still happening. Any idea where I could be looking for cause of the issue from?

Unfortunately I’m not certain. How did you create your landscapes (via import, in editor, etc)? Additionally what settings are you using in your foliage tool? If you create a blank project, add foliage to the foliage tool, then create two flat landscape planes and try to add/delete foliage on each one, do you see the same error?

I believe I created them in editor, but I don’t remember it any more. They were created few 4.X releases back.

I tried creating new project and varying creation of the landscapes and painting foliage on them, but can’t seem to reproduce it.

In foliage tool I use the defaults, paint density 0.5, erase density 0.0. I tried changing the erase density on the project you saw the glitch on, but it didn’t have any effect. The erase stops glitching them around when you set it to 0.5, but it doesn’t remove anything at that point, at 0.5+ it starts adding foliage objects.

Is there anyway to rebuild foliage object? In case it’s corrupted some way. I can’t discard the foliage either, too much work to redo everything.

Try using the lasso tool then pressing delete. Once you have done that, paint a little bit on with the paint tool set to 1.0 and set the erase tool to 0.0, then ensure that you are using the “paint” tool and not the “reapply” tool, which is right next to it. If you accidentally pressed “reapply” that would explain the behavior you were experiencing.

The lasso tool allows me to remove offending bits of foliage instead of using paint tool erase, but the reshuffling itself still happens.

Checked with my partner, it was working fine on his end. Apparently something was corrupted in the non-source controlled local files. I deleted Intermediate and Saved folders, and let Unreal rebuilt content of those folders. Now it’s fixed. I don’t know the cause, but apparently that was the fix :slight_smile:

Hi ,

I’m happy to hear this is no longer an error you are experiencing. I am marking this thread as answered for tracking purposes. If you experience this again, please comment so we can continue to assist you further.