Foliage is always discarded on load if density is 0

Hello !

I find a new bug today in UE 5.6.1 and I think it’s something the engine should not do, so let’s describe it.

I have foliage, grass and vines which are affected by foliage density scaling, cull density but not allowed to be discarded on load.

If the player starts the level with Foliage quality on Low, we see no foliage because density is 0, ok.

If he changes the setting to medium or high, still no foliage. It he reloads the level, foliage is here. If in the same session he goes from Medium to Low to Medium, foliage is here at the end but not here on Low.

I repeat, foliage is not allowed to be discarded on load.

I have these settings in Scalability

[FoliageQuality@0]
foliage.DensityScale=0
grass.DensityScale=0
foliage.DiscardDataOnLoad=0
grass.DiscardDataOnLoad=0


Now, if I change the density scale to 0.1, the bug disappears. I think when density scale is 0, the engine consider the foliage discarded on level load, even though the foliage is not allowed to be discarded.

Is anyone reproducing that behaviour or have an explaination ?

Thanks !