Im adding custom data assets to my project to store campaign and mission data.
Each mission has a level (map) linked to it.
UCLASS()
class SWATRELOADED_API USwatMission : public UDataAsset
{
public:
GENERATED_UCLASS_BODY()
public:
UPROPERTY(EditAnywhere, Category = Mission)
FString MissionName;
UPROPERTY(EditAnywhere, Category = Mission)
UWorld* Level;
};
When i try to save the asset i get the following error.
The external object is the map and is stored in /Content/SwatAssets/Maps/TrainingFacility
Can't save ../../../../../../Private/GameDev/Games/SwatReloaded/Content/SwatAssets/Campaigns/Mission_TrainingFacitlity.uasset: Graph is linked to object(s) in external map.
External Object(s):
TrainingFacility
Try to find the chain of references to that object (may take some time)?