After fixing numerous packing errors I have run into one that I can’t figure out.
My game was built off of 4.13.2 using the VR template. When I package for Windows 64-bit I am receiving strange referencing errors. Compiling and packing for 32-bit results in source-code library-linking related errors but I’m not worried about compiling for 32-bit yet. Anyways, when I package for 64-bit I get errors of the sort (abbreviated to remove timestamps)
LogLinker:Warning: Error opening file '../../../Engine/Content/Tutorial/SubEditors/StaticMeshEditorTutorial.uasset'.
LogLinker:Warning: Error opening file '../../../Engine/Content/Tutorial/SubEditors/StaticMeshEditorTutorial.uasset'.
LogUObjectGlobals:Warning: Failed to find object 'Object /Engine/Tutorial/SubEditors/StaticMeshEditorTutorial.StaticMeshEditorTutorial_C'
LogRedirectors:Warning: String Asset Reference '/Engine/Tutorial/SubEditors/StaticMeshEditorTutorial.StaticMeshEditorTutorial_C' was not found! (Referencer 'None')
LogLinker:Warning: Error opening file '../../../Engine/Content/Tutorial/BlueprintTutorials/BlueprintMacroLibrariesEditorOverview.uasset'.
LogLinker:Warning: Error opening file '../../../Engine/Content/Tutorial/BlueprintTutorials/BlueprintMacroLibrariesEditorOverview.uasset'.
LogUObjectGlobals:Warning: Failed to find object 'Object /Engine/Tutorial/BlueprintTutorials/BlueprintMacroLibrariesEditorOverview.BlueprintMacroLibrariesEditorOverview_C'
LogRedirectors:Warning: String Asset Reference '/Engine/Tutorial/BlueprintTutorials/BlueprintMacroLibrariesEditorOverview.BlueprintMacroLibrariesEditorOverview_C' was not found! (Referencer 'None')
and there are dozens more like these, all failing to find assets in …/…/…/Engine/Content/Tutorial
Later on in the cooking process, about 700 lines later (see the attached log for details), these errors (specifically failing to find the first failed asset, as it’s doing them in order) causes the entire build to fail with a useless stack trace yada yada. Anyways, my questions are:
•Why would my game be referencing these assets, even though I never migrated any content from the tutorial project these are probably from?
•How do I find those references and remove them?
•I have found that these assets exist in “… /Epic Games/4.13/Engine/Content/Tutorial” and judging from the file paths of those errors (where the path navigates up three folders and to the assets), these assets must be referenced from some deep subfolder within either the “FeaturePacks” “Samples” or “Templates” folders inside “Epic Games\4.13”. How can my project be using assets from there?
•Why does it say “Referencer ‘None’”? Can the packager not keep track of where references are made from?
Another possibly related error message in the log is
Invalidating cooked content because Engine:Core.System:Paths:../../../Engine/Content ini setting was out of date
This looks like it’s being referenced from the same location as the others. Why would my project be using a .ini that is so uniquely referenced? A global .ini sure, but not one uniquely referenced as is the case here.
A possibly related fatal error that I already fixed was
LogLinker:Warning: Error opening file '../../../Engine/Content/Maps/Entry.umap'
But I fixed it by going to the Config/DefaultEngine.ini in my project folder and making sure that none of the default maps referred to this “Entry.umap” . I had never seen this map before either and besides the .ini I don’t know where its reference came from.
Things I have already tried after researching similar issues:
•Right-clicking on the “Content” folder in the content browser to fix redirects
•Deleting the “Saved” and “Intermediate” folders inside my project folder
•Deleting the hidden UE4 folder “%USER%/AppData/Roaming/Unreal Engine”
Thanks in advance.