diff --git a/Code/Framework/AzToolsFramework/Tests/InstanceDataHierarchy.cpp b/Code/Framework/AzToolsFramework/Tests/InstanceDataHierarchy.cpp index 4d144d0d1b..88966ef994 100644 --- a/Code/Framework/AzToolsFramework/Tests/InstanceDataHierarchy.cpp +++ b/Code/Framework/AzToolsFramework/Tests/InstanceDataHierarchy.cpp @@ -710,7 +710,7 @@ namespace UnitTest auto getEnumData = [&ec](const AzToolsFramework::InstanceDataNode& node) -> Uuid { - Uuid id; + Uuid id = Uuid::CreateNull(); auto attribute = node.GetElementMetadata()->FindAttribute(AZ_CRC("EnumType")); auto attributeData = azrtti_cast*>(attribute); if (attributeData)