Adding diagnostcis for metasounds which load before interfaces are registered.

#jira UE-184499
#preflight 644be5919c50ddcc0bb0167f

[CL 25240412 by phil popp in ue5-main branch]
This commit is contained in:
phil popp
2023-04-28 16:43:19 -04:00
parent ddce46a706
commit 9dfb3b30ba
3 changed files with 5 additions and 3 deletions
@@ -130,8 +130,9 @@ namespace Metasound
class METASOUNDFRONTEND_API FUpdateRootGraphInterface : public IDocumentTransform
{
public:
FUpdateRootGraphInterface(const FMetasoundFrontendVersion& InInterfaceVersion)
FUpdateRootGraphInterface(const FMetasoundFrontendVersion& InInterfaceVersion, const FString& InOwningAssetName=FString(TEXT("Unknown")))
: InterfaceVersion(InInterfaceVersion)
, OwningAssetName(InOwningAssetName)
{
}
@@ -142,6 +143,7 @@ namespace Metasound
bool UpdateDocumentInterface(const TArray<const IInterfaceRegistryEntry*>& InUpgradePath, FDocumentHandle InDocument) const;
FMetasoundFrontendVersion InterfaceVersion;
FString OwningAssetName;
};
/** Completely rebuilds the graph connecting a preset's inputs to the reference