Foliage quality settings seemingly not working

Hello!
I’m having an issue with setting the foliage quality in my game. The setting can be changed, but it has no effect on the density of foliage whatsoever.

I’ve set up a little scene on my main menu that shows my graphics settings widget. The scene has foliage on the floor, so you can see in real-time if you adjust the setting.

Here’s my scene with foliage quality at 0:

Here’s my scene with foliage quality at 3:

As you can see, no difference whatsoever. (ignore the difference in lighting, the light flickers in this scene, for effect).

Here’s the code that is happening in the widget:

Pressing the buttons DOES work. I’ve breakpointed each one to test this.

The foliage IS set to be scalable:

133062-foliageissue4.jpg

And finally, setting the foliage settings to low in the editor itself still has no effect:

So, what could it be?
I’d rather not update the engine for this project if I can help it.

Hello General Mumble,

Adjusting the Foliage Density Scale setting and seeing the results update in real time does not work in any of the Editor viewports. The only way to see the Foliage Density update in real time is to input the command while the project is in a game mode like PIE, Simulate, or Standalone.

Thanks,

That’s exactly what ISNT working, though. The first two screenshots are PIE, and the widget buttons I’m pressing input the foliage commands, and yet there is no result.

How are those variables being created and stored. Can you provide me simple test project with this functionality in place so I can see how UMG and that variable are being handled?

Does this work if you set it to ‘Low’ in Editor within a new Blank project without your menu system? Paint some cubes densely in a new project, enable density scaling, set the foliage quality to low, and play PIE or Standalone. If it works there, then the issue is within your reported project.

Thanks,

H.

Have u checked the “Enable Density Scaling” Checkbox of your foliage type?

@General Mumble, I would need a test project or clearly outlined steps in order to reproduce the issue on my end and report this as a bug. Without the UMG elements, are you able to get it to work in a new blank project using just the Engine Scalability settings within the editor itself?

If it is working in a new blank project without your Widget Blueprints and UMG, then it can be narrowed down to being an issue with how you are calling/storing/referencing those variables and functions.

Thank you,