It definitely could be the problem. Substrate has played a big role in one of my trays of meal worms this past year. I got hold of a 50lb sack of wheat mill run. It's a highly nutritious, yet inexpensive by-product of milling white flour.
I hatched some meal worm eggs in it, and six months...