Structs not finding other structs

Are the made “in editor” or in c++?
if c++ then try adding BlueprintType to the definition like

USTRUCT(BlueprintType)
struct FArtifactStruct
{
}