Missing Assets After UE5 Migration \ UE5迁移后的资源丢失

After migrating projects to UE5, assets temporarily disappear in the editor (though they physically remain on the disk). A restart is required to make them visible. How can this issue be optimized?

Hi Xingchen,

Hum to properly fix that one we would need to add new type of event to the asset registry to tell it that we are about to unload an asset. This way it could properly broadcast a new state depending on if the asset as on disk version or not.

In the sort term you could comment the asset deleted event broadcast in the function FPackageMigrationImpl::CleanInstancedPackages. The function can be found in the file AssetTools.cpp. Just know that some system might complain about the stale asset state.

AssetRegistry.AssetDeleted(Asset);Pleasure,

Julien.

Thank you for your reply.