diff --git a/PolyToolkit/Source/PolyToolkit/PolyToolkit.Build.cs b/PolyToolkit/Source/PolyToolkit/PolyToolkit.Build.cs index d744e0f..0a82bdf 100644 --- a/PolyToolkit/Source/PolyToolkit/PolyToolkit.Build.cs +++ b/PolyToolkit/Source/PolyToolkit/PolyToolkit.Build.cs @@ -40,6 +40,7 @@ public PolyToolkit(ReadOnlyTargetRules Target) : base(Target) } ); + bEnableExceptions = true; } } } diff --git a/PolyToolkit/Source/PolyToolkit/Public/PolyToolkit.h b/PolyToolkit/Source/PolyToolkit/Public/PolyToolkit.h index 14521a5..e5bd066 100644 --- a/PolyToolkit/Source/PolyToolkit/Public/PolyToolkit.h +++ b/PolyToolkit/Source/PolyToolkit/Public/PolyToolkit.h @@ -72,7 +72,8 @@ class POLYTOOLKIT_API UPolyToolkit : public UObject static void ListAssets(const FString& ApiKey, const FString& Keywords, bool Curated, EPolyCategory Category, EPolyComplexity MaxComplexity, EPolyFormat Format, int32 PageSize, EPolyOrder OrderBy, const FString& PageToken, const FOnListAssetsComplete& OnListAssetsCallback); /** - * Imports an Asset at runtime. + * Imports an Asset at runtime. This method does not support assets that + * are created with Tilt Brush. * * @param Asset The Asset to be loaded. This should be returned by GetAsset or ListAssets. * @param OnImportCompleteCallback A callback to be executed after loading the model.