If your vegan lentil loaf came out mushy, I would guess the “batter” was too wet. This can happen if the vegetables are not dry enough. Once you begin to sauté mushrooms, they will release moisture. In order to avoid a mushy loaf, it is important to sauté until the excess moisture has evaporated.