[UE5.5]Can't build lighting on custom LODs

I have a static mesh where I imported each LOD. When I try to build lighting, it crashes. I know it’s related to this mesh because it works when the static mesh is set to movable.

The error is in FStaticMeshStaticLightingMesh constructor. It’s trying to read from InPrimitive->LODData[InLODIndex].MapBuildDataId. InLODIndex is 1, but there’s only one element in LODData. However, my static mesh has 8 LODs. So not sure what’s going on there.

Am I doing something wrong? The docs say I can just import LODs. But it doesn’t seem to work when building lighting.