Description

I found out that when creating a DataAsset from AssetTools, The load flag (bHasBeenFullyLoaded) of the created Asset is not set, It seems to be in a state where overwriting saving has not been completed due to that check.

Steps to Reproduce
  1. Open attached project.
    [Link Removed]
  2. Enable Blutility.
  3. Open Blutility_SaveDataAsset and press Make_Data_Asset.
    [Link Removed]
  4. Generate Data asset from Blutility.
  5. Save Data Asset.
  6. Press Make_Data_Asset again.
  7. If we try to save and overwrite, you will get an error.
Callstack

Cmd: OBJ SAVEPACKAGE PACKAGE="/Game/SaveDataAsset/MeshLocationDataAsset" FILE="C:/Users/redacted.username/Downloads/328742-savedataasset/Content/SaveDataAsset/MeshLocationDataAsset.uasset" SILENT=true
LogSlate: Window 'Message' being destroyed
EditorErrors: New page: Save Output
EditorErrors: Warning: Asset 'C:/Users/redacted.username/Downloads/328742-savedataasset/Content/SaveDataAsset/MeshLocationDataAsset.uasset' cannot be saved as it has only been partially loaded
LogSlate: Window 'Packages Failed To Save' being destroyed

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-66435 in the post.

0
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.20
CreatedNov 13, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021