x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

When deforming the terrain foliage won't apply to it

Hi,

When I deform my terrain the foliage I placed the last time I opened the UE won't move along with it. Anyway it works if I delete and repaint. Is this some kind of bug? Is there a button to reapply foliage to terrain or do I really have to delete it just to make some changes to the landscape?

Thanks in advance!

Product Version: Not Selected
Tags:
more ▼

asked Jan 19 '15 at 11:16 PM in Using UE4

avatar image

RobotK
6 2 4 3

avatar image Adam Davis STAFF Jan 20 '15 at 06:58 PM

Hi RobotK,

What version of the editor are you currently using? Additionally, you should be able to use the "Reapply" feature in the foliage mode to repaint any foliage that doesn't move with the landscape.

avatar image RobotK Jan 20 '15 at 08:20 PM

Hey I'm using 4.6.1. The Reapply feature won't help. That's the point. All foliage i painted will simply stay where it is although i can reapply scale and stuff like that. If i paint new foliage it will move along when deforming the landscape.

avatar image Adam Davis STAFF Jan 21 '15 at 04:58 PM

Are you changing the landscape in editor or are you importing/reimporting using heightmaps from a program such as world machine?

avatar image RobotK Jan 21 '15 at 06:02 PM

I created the landscape with the UE4 landscape editor.

avatar image RobotK Jan 25 '15 at 10:24 AM

I still need to delete my foliage and repaint it to apply it to my edited lanscape. After i painted new foliage i can deform my terrain as much as I like but once i save and reopen the engine i have to delete it again. That's quite circumstantial...

avatar image Adam Davis STAFF Jan 26 '15 at 05:09 PM

Hi RobotK,

I just want to make sure I understand what you are saying. Are these the steps to reproduce this error?

  1. Create Landscape

  2. Apply foliage to terrain

  3. Deform terrain (foliage does not move, reapply does not work)

  4. Delete/repaint foliage

  5. Deform terrain (foliage appears to move)

  6. Save and Close editor

  7. Reopen editor

At this point the foliage will not conform to landscape and needs to be deleted/reapplied? Please let me know if I got any of this wrong as I have several users reporting this bug, but I haven't been able to reproduce it on my end and I'd certainly like to figure out what is going on so we can get this nasty bug fixed!

avatar image RobotK Jan 26 '15 at 06:45 PM

Hey Adam

I know this was confusing (As you might have guessed English is not my mother tongue)

  1. Create landscape

  2. Deform the terrain

  3. Paint foliage

  4. Deform the terrain -> Everything works as it should and the foliage moves along without the need to reapply anything.

  5. Save and close the engine -> Restart the engine

  6. Deform the terrain again but well the foliage stays where it is... When using the reapply tool the foliage still doesn't move...

  7. Delete foliage

  8. Repaint foliage

  9. Deform the terrain and the foliage will once again move along as long as I don't restart the engine.

Thx for trying to solve this issue. I'm relatively new to UE so I'm not really used to it yet. :D

avatar image Adam Davis STAFF Jan 26 '15 at 07:00 PM

Are you using speedtree foliage, an object in the editor already, or custom static meshes by chance? I attempted to reproduce this bug but still cannot seem to reproduce the error. After restarting the editor the foliage moves with the landscape as intended. Additionally can you show me a screenshot of your painting settings for your foliage?

avatar image RobotK Jan 26 '15 at 07:16 PM

I'm using my own meshes i created with blender. I guess I should also mention that I have a lot of foliage positioned in my landscape. (Another problem btw: When I try to move one single tree it lags quite a lot and I have to wait quite some time before I can see any effect) Could the amount of foliage be the reason for this?alt text

alt text

level.png (2.3 MB)
avatar image Adam Davis STAFF Jan 26 '15 at 07:32 PM

Try pressing "align to normal" then follow the same steps you listed above. Does the foliage still refuse to reapply?

avatar image RobotK Jan 26 '15 at 08:22 PM

I used align to normal for grass foliage and it still stuck under the terrain. Only trees were painted without align to normal. I tried it again and it didn't work.

avatar image RobotK Jan 26 '15 at 08:24 PM

If you want to I could show you my scene via teamviewer or skype. That might help.

avatar image RobotK Jan 26 '15 at 08:37 PM

I just tested placing foliage in a test project and i'm also not able to reconstruct this error. As you mentioned there are more people having the same problem so at least I'm not alone.

avatar image Adam Davis STAFF Jan 26 '15 at 08:50 PM

I will keep having a look. It's interesting because one of my team was able to reproduce it, until he attempted to repro it after we discussed this as well as other reports about the bug. At that point he attempted in the project he had initially seen the problem on but was unable to repro it again. I'll see if I can find the common link between these and see what we can do to fix and/or provide a reasonable workflow for foliage in this case.

avatar image RobotK Jan 26 '15 at 08:58 PM

Thank you. At this stage of my project I can deal with deleting and replacing. I hope you'll be able to fix it soon. :) I started my project in november last year. Maybe an update caused this error.

avatar image Tr00matt Sep 14 '17 at 06:51 PM

Just to make a point, this is an issue for me in 4.15, but wasn't an issue beforehand. It makes iteration very difficult.

avatar image Aaronz Jan 07 '18 at 04:02 PM

I still have this issue in 4.18.2, exactly as RobotK has described. I also have a lot of foliage applied to the landscape

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hi RobotK,

I understand the main part of the issue is that after painting some foliage, closing the editor and returning to the landscape, the foliage is no longer attached to the landscape and doesn't move when painted. We're not able to reproduce this part of the bug in 4.7 and I we believe this should be fixed in 4.7.

As for the foliage you currently have in this situation, selecting it with the Lasso tool and pressing the END key on your keyboard should snap it back to the landscape and restore the reference.

Cheers Jack

more ▼

answered Feb 02 '15 at 06:28 AM

avatar image

JackP_oldaccount
1.3k 37 11 48

avatar image RobotK Feb 05 '15 at 11:27 AM

Thx for your answer Jack.

I tried to use the lasso tool but it won't work. When I left click, a yellow line starts to move uncontrollable and I can't select anything. When using the select tool, I finally can select my foliage. Anyway using the end key won't work with all my trees. I attached pic where you can see that my lasso tool won't work properly.alt text This tree was selected with the select tool and using the end key didn't work for it. On the other hand one of my spruces snapped back on the terrain. I also tested the lasso tool in a new project and it worked there. I hope my project isn't broken or sth. I put a lot of effort into it.

level.png (1.9 MB)
avatar image JackP_oldaccount Feb 05 '15 at 03:54 PM

Hi RobotK, sorry about the selection problem with the yellow line. That's a separate bug that we recently fixed for 4.7. It happens only on meshes with World Position Offset in their material so you could temporarily disable that in the material if that helps.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi RobotK,

I haven't been able to reproduce this on my end, but I went ahead and entered two bug reports (one for the foliage not automatically adjusting to the landscape, and one for the reapply tool) to be assessed by the development staff. These are UE-8684 and UE-8687, respectively.

more ▼

answered Jan 29 '15 at 10:02 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question