Fix garbage collection unloading cog assets

This commit is contained in:
Arnaud Jamin
2023-10-21 01:28:54 -04:00
parent f2d8311c90
commit 9f5431465b
12 changed files with 14 additions and 13 deletions
@@ -60,5 +60,5 @@ private:
bool ShowQuery = false;
UPROPERTY()
TWeakObjectPtr<const UCogEngineDataAsset> Asset = nullptr;
TObjectPtr<const UCogEngineDataAsset> Asset = nullptr;
};
@@ -32,5 +32,5 @@ protected:
private:
UPROPERTY()
TWeakObjectPtr<const UCogEngineDataAsset> Asset = nullptr;
TObjectPtr<const UCogEngineDataAsset> Asset = nullptr;
};