Collision detection doesn't work in iOS build

I have a simple scene with the Unity ThirdPersonController prefab and some terrain. When I run it in Unity the collider works and the player stops at the terrain. But when I build it and run it in iOS the collider doesn’t seem to detect the terrain and the player falls right through the ground.

Is there something I have to change to get the collider to work in iOS?

I’ve done some more investigation. This seems to be a problem with Terrain generator collisions.