Here’s my code to generate a boxCollider on a component after importing the FBX file. Some objects are scaled and rotated in the FBX so that might be one of the issues. But the size and center are never correct. I’ve tried a few ways of converting to world sizing but nothing works.
MeshRenderer meshRenderer = child.GetComponent<MeshRenderer>();
if (meshRenderer != null)
{
BoxCollider boxCollider = child.gameObject.AddComponent<BoxCollider>();
Bounds bounds = meshRenderer.bounds;
Vector3 localSize = bounds.size;
boxCollider.size = localSize;
boxCollider.center = bounds.center;
}