When using foliage my frame rate is dropped from 60fps down to 12 fps or lower. I have maybe 35 trees in my scene (Nanite Enabled), I am using Virtual shadow maps and lumen as altering them doesn’t do anything to improving my fps. My GPU is high, up in the 90’s. I have multiple screen shots of the issues but to fix it is a challenge I cannot find elsewhere. If anyone knows how to improve Free Megascan foliage from Epic Games, please let me know. I had tried various methods, even disabling the world position offset in the nodes so there is no wind effect. I had tried using other foliage, but the results are the same. I even had tried altering the textures. I have a great gaming laptop so I know it shouldn’t be my computer. Any Advice?
- Megascan foliage sucks performance wise, use an LOD asset, it will be fine
- Disable shadows on foliage, your screenshots give us nothing, the stat gpu command would have revealed way more
- It’s probably virtual shadow cache being invalidated by moving foliage with shadows enabled.
Hi there! Did you every figure this out? I’m having the same issue with 5.5. I thought it might have been VSMs but it I’ve isolated it to being a Lumen issue since it only shows up with scalability reflections at high (everything else low) and foliage enabled.
Edit: I found disabling hardware raytracing fixed this issue but I’m not satisfied with the solution.
Edit2: They cause stutter in the scene with VSM and their Shadow Cache Invalidation set to Rigid when moving the camera around too. They’re currently non-nanite. (Very slow as they load in even with HW Raytracing off)
Edit3: Wondering if this has to do with them being dynamic instances? Ray Tracing Performance Guide in Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community
Edit4: This definitely has to do with them being dynamic instances.