Creating SkinnedEffect at runtime not working

So i found out that the way i was assigning the effect, by creating a new ModelEffectCollection passing that to ‘Mesh.Effects’ was the problem. If I set the ‘ModelMeshPart.Effect’ property with the new skinned effect it does work.