From fe2bf07c55b5f1af182016e990fc7205add03d7a Mon Sep 17 00:00:00 2001 From: moraaar Date: Tue, 31 Aug 2021 14:56:37 +0100 Subject: [PATCH] Fixed blast asset reflection, which was generating a wrong Id for the Asset class type due to 'const' (#3756) Signed-off-by: moraaar --- Gems/Blast/Code/Source/Components/BlastFamilyComponent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gems/Blast/Code/Source/Components/BlastFamilyComponent.h b/Gems/Blast/Code/Source/Components/BlastFamilyComponent.h index c27a738b05..99957d0fce 100644 --- a/Gems/Blast/Code/Source/Components/BlastFamilyComponent.h +++ b/Gems/Blast/Code/Source/Components/BlastFamilyComponent.h @@ -107,7 +107,7 @@ namespace Blast BlastMeshData* m_meshDataComponent = nullptr; // Configurations - const AZ::Data::Asset m_blastAsset; + AZ::Data::Asset m_blastAsset; const BlastMaterialId m_materialId{}; Physics::MaterialId m_physicsMaterialId; const BlastActorConfiguration m_actorConfiguration{};