Hi Saeedc,
This isn’t a bug with the material failing to compile. You get 16 samplers for the textures, but only 13 of them are accessible as three are reserved for other uses like the lightmap.
In order to use more texture samples you need to use a ‘shared wrap’ sampler source type. You can find more information in the 4.6 Release notes. Search for New Material System Features.