Failed to load: Can't find file (hard reference) in Unreal Engine

One of your assets depends on another asset whose file cannot be found. The dependency is still recorded, but the file is gone. Unless the line is an error, the cook goes on and the game ships with an empty reference.

  • Not blocking: the package succeeds, but the game is broken
  • Shows up during the cook, ExitCode=0
  • Reproduced in our lab (UE 5.4.4 and 5.8.3)

Paste your log: find the cause in seconds Runs in your browser, nothing is uploaded.

What it looks like in your log

Excerpts from a reproduction in our lab (a test plugin, not a real product). Paths anonymized; line numbers are those of the original files.

Unreal Engine 5.4.4

Log.txt

LogUObjectGlobals: Warning: [AssetLog] C:\Projects\MyProject\Content\Fixtures\BP_Fixture_M09_HardHolder.uasset: Failed to load '/Game/Fixtures/SM_Fixture_M09_Target': Can't find file.LogLinker: Warning: [AssetLog] C:\Projects\MyProject\Content\Fixtures\BP_Fixture_M09_HardHolder.uasset: VerifyImport: Failed to load package for import object 'Package /Game/Fixtures/SM_Fixture_M09_Target'LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] C:\Projects\MyProject\Content\Fixtures\BP_Fixture_M09_HardHolder.uasset: Failed to load '/Game/Fixtures/SM_Fixture_M09_Target': Can't find file.LogInit: Display: LogLinker: Warning: [AssetLog] C:\Projects\MyProject\Content\Fixtures\BP_Fixture_M09_HardHolder.uasset: VerifyImport: Failed to load package for import object 'Package /Game/Fixtures/SM_Fixture_M09_Target'BUILD SUCCESSFULAutomationTool executed for 0h 0m 21sAutomationTool exiting with ExitCode=0 (Success)

Two warnings, repeated in the summary at the end of the cook, and still BUILD SUCCESSFUL.

Unreal Engine 5.8.3

Log.txt

LogCook: Display: Cook Diagnostics: OpenFileHandles=275, VirtualMemory=1788MiB, VirtualMemoryAvailable=46938MiBLogCook: Display: Package /Game/Fixtures/BP_Fixture_M09_HardHolder has a dependency on package /Game/Fixtures/SM_Fixture_M09_Target which does not exist.LogWorldPartition: Display: [Cook] Gathering packages to cook from generators for owner object World /Game/ThirdPerson/Lvl_ThirdPerson.Lvl_ThirdPerson.BUILD SUCCESSFULAutomationTool executed for 0h 0m 26sAutomationTool exiting with ExitCode=0 (Success)

UE 5.8 no longer prints a warning here: a single Display line, the same as for a soft reference.

Not blocking, but your game is broken

A hard reference (the Static Mesh of a component, a material slot, a Blueprint node pointing to an asset) is loaded together with the asset that holds it. When the target file is deleted, the cooker cannot load it, logs it, and keeps going: the asset is cooked with an empty reference.

In our lab, with a hard reference to a deleted Static Mesh, the package succeeded on UE 5.4.4 and 5.8.3, and the actor appears in the game without its mesh.

What changes between engine versions

UE 5.4.4 prints two warnings, "Failed to load ... Can't find file" and "VerifyImport: Failed to load package for import object", repeated in the warning summary at the end of the cook.

UE 5.8.3 prints a single Display line, "has a dependency on package ... which does not exist", the same line as for a soft reference. Display lines are not counted as warnings, so the package looks clean.

When the same message is logged as an Error and the cook fails right there, as in some forum reports, it is the blocking cause, and our decoder reports it as such.

Common causes

  • Starter Content or a marketplace pack was partly deleted while some assets still use it.
  • An asset was deleted outside the editor, without fixing the assets that use it.
  • Files missing from source control on the build machine.

How to fix it

  1. Note the missing asset: the asset in the error.
  2. Use the Reference Viewer on that path to list the assets that still need it.
  3. Re-add the missing content (for example re-add Starter Content), or replace the reference in each referencing asset.
  4. Save, run Fix Up Redirectors on the affected folders, and cook again.

Questions

Does "Failed to load ... Can't find file" stop the packaging?

Usually not: as a warning (UE 5.4) or a Display line (UE 5.8), the package still succeeds. It is the cause only when it is logged as an error and is the first error of a failed cook.

How do I find which asset references the missing file?

The line names it: the .uasset path before "Failed to load", or the first package of the "has a dependency on package" line. Open that asset and fix or remove the reference.

Can it be caught before cooking?

Yes, it can be checked before you start a cook: Asset registry scan for missing dependencies.

Reports and sources

Decode your log

Paste your packaging log, or drop Log.txt with Cook-*.txt / UBA-*.txt. The analysis runs in your browser: the log is never uploaded.

Get notified when the in-editor plugin launches

The same decoder inside the Unreal Editor, with checks that catch these errors before you cook.