Foliage not working

Suddenly I can’t paint any foliage over the landscape, a procedural foliage spawner doesn’t spawn anything either.
If I paint over a static mesh it works normally, it’s some issue with the landscape but can’t figure what.
Any idea what is going on?

Edit: I rectify, it seems some grass is painting, trees and rocks don’t.