I have field collection with only file fields. You can investigate - in this case $form won't contain #entity property which is necessary for altering it. So I've created small patch.

#3 field_collection.patch513 bytesGeorgique
PASSED: [[SimpleTest]]: [MySQL] 132 pass(es).
[ View ]
field_collection.patch689 bytesGeorgique
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch field_collection_0.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]


Version:7.x-1.0-beta5» 7.x-1.x-dev
Status:Active» Needs review

My patch is generated by PhpStorm, not sure it will pass check but let's try...

Status:Needs review» Needs work

The last submitted patch, field_collection.patch, failed testing.

Status:Needs work» Needs review
new513 bytes
PASSED: [[SimpleTest]]: [MySQL] 132 pass(es).
[ View ]

Removing my local garbage from the patch