diff --git a/code/Model/Formats/Fbx/MaterialConverter.cpp b/code/Model/Formats/Fbx/MaterialConverter.cpp index ef2e96cd91..6ef7263a44 100644 --- a/code/Model/Formats/Fbx/MaterialConverter.cpp +++ b/code/Model/Formats/Fbx/MaterialConverter.cpp @@ -109,10 +109,11 @@ bool convertMaterials(Model& outModel, SmallMap< int32_t, int32_t >& outMaterial if (!material) continue; - T_FATAL_ASSERT(material->features.pbr.enabled); - const std::wstring name = mbstows(material->name.data); + if (!material->features.pbr.enabled) + log::warning << L"FBX model importer; material \"" << name << L"\" isn't PBR enabled." << Endl; + // Check if material has already been added. const auto& materials = outModel.getMaterials(); auto it = std::find_if(materials.begin(), materials.end(), [&](const Material& m) {