Crops will despawn if their growing requirements are not met.
This can happen when it's too dark, when the crop hasn't been watered(this is separate from farmland turning into wet farmland) and similar.
It especially happens with high-stat crops, they are hard to keep growing sometimes.
What are your circumstances?