diff --git a/src/ObjLoading/Asset/AssetCreationContext.cpp b/src/ObjLoading/Asset/AssetCreationContext.cpp index f2f5cc25..a82c51e4 100644 --- a/src/ObjLoading/Asset/AssetCreationContext.cpp +++ b/src/ObjLoading/Asset/AssetCreationContext.cpp @@ -110,8 +110,7 @@ XAssetInfoGeneric* AssetCreationContext::LoadDependencyGeneric(const asset_type_ if (!result.HasFailed()) return result.GetAssetInfo(); - std::cerr << std::format( - "Could not load indirectly referenced asset \"{}\" of type \"{}\"\n", assetName, *m_zone->m_pools->GetAssetTypeName(assetType)); + std::cerr << std::format("Could not load asset \"{}\" of type \"{}\"\n", assetName, *m_zone->m_pools->GetAssetTypeName(assetType)); } else { diff --git a/src/ObjLoading/Asset/AssetCreatorCollection.cpp b/src/ObjLoading/Asset/AssetCreatorCollection.cpp index cdea92c8..0e83a3b7 100644 --- a/src/ObjLoading/Asset/AssetCreatorCollection.cpp +++ b/src/ObjLoading/Asset/AssetCreatorCollection.cpp @@ -5,6 +5,7 @@ AssetCreatorCollection::AssetCreatorCollection(const Zone& zone) { m_asset_creators_by_type.resize(zone.m_pools->GetAssetTypeCount()); + m_default_asset_creators_by_type.resize(zone.m_pools->GetAssetTypeCount()); } void AssetCreatorCollection::AddAssetCreator(std::unique_ptr creator)