# Assets "saved with empty engine version" warning

**URL:** <https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482>\
**Category:** Blueprint\
**Tags:** empty, engine, warning, unreal-engine, version, Blueprint, question\
**Created:** [January 20, 2015, 12:23pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482 "2015-01-20T12:23:56Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [January 20, 2015, 12:23pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/1 "2015-01-20T12:23:56Z")

</div>

I’ve migrated a few assets from my previous project and when packaging, log displays warnings like:

```
LogLinker:Warning: Asset '../../../../../../Unreal Projekty/eqTEST/Content/Potwory/Materialy/LightHouseBoss.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.

```

How do i get rid of these warnings when i have pure Blueprint project? The project is working, but i have a lot of these warnings in my log. I have 4.6.1.

---

<div class="post-metadata">

**Author:** ![BPANDREW](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bpandrew/32/1194681_2.png) [@BPANDREW](https://forums.unrealengine.com/u/BPANDREW)\
**Post date:** [February 28, 2015, 5:12pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/2 "2015-02-28T17:12:02Z")

</div>

I too would like to remove these warnings from my log

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [March 4, 2015, 10:23am UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/3 "2015-03-04T10:23:34Z")

</div>

In 4.7.1, these warning should disappear after resaving problematic assets. More info [HERE](https://answers.unrealengine.com/questions/147813/how-do-i-get-rid-of-incompatible-version-warning.html).

So, there are 2 options:

1. Remove & reimport these assets
2. Open problematic assets, edit something inside and save them.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dceb25d5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dceb25d5](https://forums.unrealengine.com/u/anonymous_user_dceb25d5)\
**Post date:** [June 2, 2017, 11:55pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/4 "2017-06-02T23:55:15Z")

</div>

Had this same warning in 4.16.1 this resolved it for me

---

<div class="post-metadata">

**Author:** ![ATrustedDoctor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ATrustedDoctor](https://forums.unrealengine.com/u/ATrustedDoctor)\
**Post date:** [September 3, 2017, 1:00pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/5 "2017-09-03T13:00:36Z")

</div>

well that was easy

---

<div class="post-metadata">

**Author:** ![JayChang-zhe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JayChang-zhe](https://forums.unrealengine.com/u/JayChang-zhe)\
**Post date:** [March 8, 2021, 9:33am UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/6 "2021-03-08T09:33:23Z")

</div>

Just test with one of them, it works, thanks, i still have 339 warning(s) need to fix 🙂

---

<div class="post-metadata">

**Author:** ![Podgyhodgy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Podgyhodgy](https://forums.unrealengine.com/u/Podgyhodgy)\
**Post date:** [June 9, 2021, 3:34pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/7 "2021-06-09T15:34:12Z")

</div>

Thankyou SunMachineYanny. I ran the command you suggested and it worked very nicely so all my warnings are now gone. I would just add that the project must not be open for the command to work. It will run but have no effect if the project is open.  
Where did you find out about this may I ask? I often feel there is a secret store of information that I am not privy to.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2fb2d2d0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2fb2d2d0](https://forums.unrealengine.com/u/anonymous_user_2fb2d2d0)\
**Post date:** [June 9, 2021, 9:32pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/8 "2021-06-09T21:32:29Z")

</div>

There are 2 options.

1. You can batch resave your project. Close Unreal Editor and then run script:

> `C:\<PATH_TO_LAUNCHER_INSTALLS>\UE_<VERSION>\Engine\Binaries\Win64\UE4Editor-Cmd.exe C:\<PROJECT_PATH>\<PROJECT_NAME>.uproject -run=ResavePackages -OnlyUnversioned`

1. You can disable the warning in DefaultEngine.ini

---

<div class="post-metadata">

**Author:** ![Lildreas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lildreas](https://forums.unrealengine.com/u/Lildreas)\
**Post date:** [July 23, 2021, 2:08pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/9 "2021-07-23T14:08:01Z")

</div>

Tested option 1.), worked like a charm. Many hundreds warnings are now gone - thanks!

---

<div class="post-metadata">

**Author:** ![Lildreas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lildreas](https://forums.unrealengine.com/u/Lildreas)\
**Post date:** [July 23, 2021, 2:08pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/10 "2021-07-23T14:08:06Z")

</div>

BTW, forgot to mention, did this with UE 4.26.2.

---

<div class="post-metadata">

**Author:** ![SirTainly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SirTainly](https://forums.unrealengine.com/u/SirTainly)\
**Post date:** [November 9, 2021, 1:18am UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/11 "2021-11-09T01:18:38Z")

</div>

Fantastic that someine else has had problems you never thought was possible… so many ■■■■ pits that all of a sudden appears where you’re walking around in this engine.

Thanks a lot

---

<div class="post-metadata">

**Author:** ![espaghetters](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@espaghetters](https://forums.unrealengine.com/u/espaghetters)\
**Post date:** [June 7, 2022, 1:22pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/12 "2022-06-07T13:22:35Z")

</div>

This is by far the best suggestion.

One detail for UE5: `UE4Editor-Cmd.exe` is now `UnrealEditor-Cmd.exe`. Also, if you have a lot of assets, this could take a while.

That being said, this fixed all of my versioning issues. Thanks!

---

<div class="post-metadata">

**Author:** ![JediKnightChan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jediknightchan/32/1156960_2.png) [@JediKnightChan](https://forums.unrealengine.com/u/JediKnightChan)\
**Post date:** [April 26, 2023, 2:03pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/13 "2023-04-26T14:03:42Z")

</div>

Script for 5.1 I wrote to fix this warning on 11K files. Before 5.1 package\_name property was called otherwise, so will have to change it if want to use it for earlier versions.

The idea is just to use unreal.EditorAssetLibrary.save\_asset instead of manual opening and saving. I save progress because it will crash sometimes because of memory lack or some specific file issues and then won’t have to run from 0, the fixed assets will be skipped.

```auto
import os

import unreal
import json

# Change me!
assets_to_ignore = [
    "Maps/Levels/Zedek.umap"
]
asset_root_dir = "/Game/"
json_progress_path = "C:/Users/JediKnight/Documents/Unreal Projects/ECR/Script/Python/Others/temp.json"

asset_reg = unreal.AssetRegistryHelpers.get_asset_registry()

def update_progress_json():
    with open(json_progress_path, "w") as f:
        json.dump({"processed": processed_paths}, f, ensure_ascii=False, indent=4)

def should_ignore_asset(asset_path):
    asset_path = str(asset_path).lower()
    for ignore_asset in assets_to_ignore:
        ignore_asset = ignore_asset.lower().replace(".uasset", "").replace(".umap", "")
        if asset_path.endswith(ignore_asset):
            return True
    return False

processed_paths = []

if os.path.exists(json_progress_path):
    with open(json_progress_path, "r") as f:
        data = json.load(f)
        processed_paths = data["processed"]
        assets_to_ignore += processed_paths

assets = asset_reg.get_assets_by_path(asset_root_dir, recursive=True)
for asset in assets:
    print("Got", asset.package_name)
    if should_ignore_asset(asset.package_name):
        print("Ignoring", asset.package_name)
        continue
    else:
        print("Not ignoring", asset.package_name)
        unreal.EditorAssetLibrary.save_asset(asset.package_name, False)
        print("Saved", asset.package_name)
        processed_paths.append(str(asset.package_name))
        update_progress_json()

```

---

<div class="post-metadata">

**Author:** ![MrHardo1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrHardo1](https://forums.unrealengine.com/u/MrHardo1)\
**Post date:** [August 7, 2023, 4:15pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/14 "2023-08-07T16:15:50Z")

</div>

The above script unfortunately didn’t work for me, I tried running the command with both “-OnlyUnversioned” and without, neither seemed to prevent the warnings during packaging after they finished execution. I’m upgrading my project from a custom version of UE to version 5.2, maybe that might have something to do with it, IDK.

In any case, what did work for me was to right click the folder(s) in the editor containing the unversioned assets and pressing “Resave All”. After that the warnings disappeared from packaging. I tried doing this on the content folder first but UE crashed, so I simply went one by one through the root folders in my project and resaved the ones containing the problematic assets. Note: Can take awhile.

---

<div class="post-metadata">

**Author:** ![ArkCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkcreator/32/1148494_2.png) [@ArkCreator](https://forums.unrealengine.com/u/ArkCreator)\
**Post date:** [September 19, 2024, 2:33pm UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/15 "2024-09-19T14:33:45Z")

</div>

Do i run this in cmd?

---

<div class="post-metadata">

**Author:** ![Bubba\_grunt\_100](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bubba\_grunt\_100](https://forums.unrealengine.com/u/Bubba_grunt_100)\
**Post date:** [September 21, 2024, 1:20am UTC](https://forums.unrealengine.com/t/assets-saved-with-empty-engine-version-warning/304482/16 "2024-09-21T01:20:11Z")

</div>

was getting really frustrated trying to run this in cmd and terminal. Finally got the script to work on using the ‘run’ app. It accepts spaces in the syntax, no need for underscores (worked for me on win 11)
