Texture Baking in Cycles, I'm getting no Colour I'm trying to bake some materials to use in Unity.

However the baked image textures do not capture the colour of the materials.
Plugging my procedural textures and image textures on to a diffuse shader node before mixing fixed the problem I was having.