jeanzhaolu
(jeanzhaolu)
January 15, 2024, 11:20pm
1
Unreal engine keeps deleting my foliage after the level being loaded -
Example 01
Example 02
in the YouTube link you can see all the foliage and instance count was there when the level fist being loaded, but seconds after they all gets deleted, the instance count drops to zero too : ( if I save the level, next time there will not be any foliage left in there.
The foliage are Megascann assets from UE market,
Instanced foliage actor and landscape is placed in the persistent level,
culling setting are all default, not using world partition,
landscape is ticked in the show tab
Tried to rescale and move around the landscape, didn’t help
Foliage mesh opens up fine, doesn’t seems to be missing.
This has happened on different projects and on different PCs I been working on, been searching for a fix for ages but couldn’t find a solution to this yet,
doesn’t seem like a common issue but this happed too frequent to me.
jeanzhaolu
(jeanzhaolu)
January 15, 2024, 11:45pm
2
Some of the posts I’ve found that encountered similar issue, but no confirmed fix yet
So I was working on a project, its a rather big scene but not crazy big either, and after finishing up my foliage(which is only grass), I saved my project then closed it. Next morning I open the project and all my foliage is gone.
(note: there was an update where I had to restart UE before I decided to open the level/project so i dont know if the update is part of the problem or not)
It looks like my foliage had actually been deleted by unreal engine after opening my project. Because ALL the f…
So unreal engine deleted all my foliage for no reason after I opened my level. If someone can explain the cause of the problem, I will be so grateful. I dont think recovering my grass is possible anymore though.
I posted this issue 10 days ago but havent gotten any feedback. Turns out I had it on the wrong development category so hopefully this post will reach the right crowd in the right area. But anyway…
To put it simple, after I managed to fix a certain foliage issue, I ran into a new probl…
Off the top of my head, this is common when you incorrectly paint foliage outside of the level you are supposed to within world composition…
I usually paint foliage by accessing individual levels, if that’s your case, I suggest the same treatment.
Load the level, Set the viewport to unlit so you can see, and place the foliage.
Once done and saved, load the persistent and the level(s). You should see the foliage pop up and stream appropriately.
It sort of looks like its set to cull out based on tris count?
Check your scene, make sure thats not an issue.
Usually after 3b tris (thats on a 3090) or 4b tris (4090) you get stuff partially disappearing.
If your foliage was given some sort of importance then it may be cutting that off first instead.
jeanzhaolu
(jeanzhaolu)
January 16, 2024, 3:32am
5
Sum Tris is 10million in the swamp scene, doesn’t look like its gonna causing issues.
Its a lot, but not enough to be an issue in theory.
What about LOD levels and settings?
jeanzhaolu
(jeanzhaolu)
January 17, 2024, 5:52am
7
doesn’t seems to have issues with LOD… it was working fine before and this bug just happened abruptly
Has to be an .ini or settings change then.
Adding more foliage doesnt make it re-appear does it?
jeanzhaolu
(jeanzhaolu)
January 17, 2024, 10:17pm
9
any change will over write the level and the old foliage will be gone forever by the looks of it
Try and check this by looking directly at the foliage stuff.
You can access their instances via blueprint to check their total numbers / if they exist or are in fact removed…
Not aware of anything that would remove the instances unless directly instructed to…
qusrby
(qusrby)
August 9, 2024, 4:19am
11
I solved the problem. I hope it helps others who are having this problem.
I’ve also struggled with this problem for a long time, but I’ve finally found a solution. I hope this helps others.
Problems
When you set the ‘Editor Startup Map’ to a specific level in the Project Settings, the level’s title appears as ‘Untitled’ when you open the project.
The water body doesn’t load, causing the Ocean, Lake, and River to disappear.
Foliage that was placed disappears.
In my case, the foliage placed on static meshes did not disappear.
Landscape Brush and Foliage Br…
1 Like