So I’ve recently upgraded from 4.18 to 4.21, and now my cook step consistely says literally every single assent was not saved as an export, for example:
LogInit: Display: LogSavePackage: Warning: /Game/Developers//GunTagDev/GunTag_Test imported Serialize:/Game/_GAMEPLAY/GENERIC/GunTag/GunTag_TeamPedastal_BP.GunTag_TeamPedastal_BP_C:Box_GEN_VARIABLE, but it was never saved as an export.
This of course results in 100k warnings in the cook and is effectively making it impossible to find “real” cook warnings.
What does this message mean, and how can I get rid of it?
Sadly no. Effectively, I just have to ignore the results of a clean cook. Doing iterative may sometimes reduce the count of warnings, but if I resave anything it comes back until the next iterative cook. :shrug:
4.24.3, having this for a few assets, including maps.
UATHelper: Packaging (Windows (64-bit)): LogSavePackage: Warning: /Game/Run/Components/Spawn_System/Blueprints/Character/BP_Respawn_Point imported Serialize:/Engine/EditorMaterials/TargetIconSpawn, but it was never saved as an export.
PackagingResults: Warning: /Game/Run/Components/Spawn_System/Blueprints/Character/BP_Respawn_Point imported Serialize:/Engine/EditorMaterials/TargetIconSpawn, but it was never saved as an export.
sorry for necroing a question from 4 years ago but let this be here for anyone who might come across this in future
in my case the warning was made by assets which had a really long file path.
reducing file path ( either by reducing number of character in their name or moving them higher in folder hierarchy) solved the problem
I was also having this issue, came across this thread hoping to find an answer but for me, i worked out that i was referencing a texture in a folder that i had told not the be cooked or looked in… so i just made a copy of the texture some where else and fixed the references and that fixed it for me…
Hoping someone can help me out. I’ve butted my head against this problem several times, and it never seems to work. I’ve tried recompiling/saving, and we already exclude editor content and the like. Hundreds to thousands of lines along the lines of
[14:34:03] : [Step 4/7] LogSavePackage: Warning: /Game/Maps/ZM_Village imported Serialize:/Game/Models/ZM/Village/VillageBuilding1B.VillageBuilding1B, but it was never saved as an export.
I’d be surprised if it was the path length as that doesn’t seem that long, maybe 100 characters.
Surely there’s some reason as to why this is happening? I think I even tried scouring some objects for circular dependencies, but that didn’t seem to affect it.
As an aside, I’ve tried peeking around the engine files, the error is emitted in
CoreUObject/Private/UObject/SavePackage.cpp"
And while it’s clear why the error is triggered, tracking down how the build system got to that state seems like a nightmare. Hoping someone with more familiarity with the build tools sees this.