Hi folks.
Dunno if this'll help any one but I think I've found a work around for the settlement resource bug/glitch (for food only) that's been occurring in the game.
Lay out a section of small wooden floor tiles on the floor (dirt ground where you can place crops). Plant whatever crop you want on some other ground - far away from wooden floor tiles. Place a small mat near the crop and activate till both are highlighted and then moved to wooden floor tile and plant.
Rinse and repeat - I must note it can bug out the settlement build a bit so you may have to get out of build mode and go back in - switch mats and crops every now and then as this seems to help.
It's just like the wooden fencing glitch to stop gaps appearing in the Wooden fence when you build them - same process with crop and mat.
It is a bit fiddly but it works on crops - had another go at settlements - got the glitch but food stayed at 16 as it was - this didn't work for water pumps or defence but I did not place small wooden floor tiles under every water pump or turret.
I must advise I did place all beds on top of wooden floor tiles in the houses (Sanctuary) and the beds showed as zero till I got back to Sanctuary and beds went back to 12.
Oh well you win some and you loose some.
Will test with prefab houses and wooden floor tiles soon and place all items (turrets/water pumps) on small wooden tiles
Fingers crossed
Cheers