I have recentrly upgraded my engine version from 4.12 to 4.13 and I now am having troubles trying to package my game. Here is the console command I’m using:
I’m afraid all the assets are there. What concerns me is this part of all warning/error messages: PackageVersion 505, MaxExpected 504.
I’m wondering if that is the reason why cooking content fails. This seems likely considering the fact that I’ve just upgraded the engine.
You are probably missing some assets. And when the linker tries to get them you end up with a bunch of errors. This can be caused by missing assets or broken references.
UE4Editor-Cmd: [2016.11.24-13.08.23:189][ 0]LogUObjectGlobals:Warning: Failed to find object ‘Class /Game/UI/MenuHUD.MenuHUD_C’
UE4Editor-Cmd: [2016.11.24-13.08.23:189][ 0]Error: CDO Constructor (MenuGameMode): Failed to find /Game/UI/MenuHUD.MenuHUD_C
UE4Editor-Cmd: [2016.11.24-13.08.23:279][ 0]Error: CDO Constructor (TFGameMode): Failed to find /Game/Blueprints/MaleCharacter_BP.MaleCharacter_BP_C
UE4Editor-Cmd: [2016.11.24-13.08.23:281][ 0]Error: CDO Constructor (TFGameMode): Failed to find /Game/Blueprints/FemaleCharacter_BP.FemaleCharacter_BP_C
Well sometimes they update older versions of the engine it might be that you don’t have the latest build or you haven’t upgraded your project correctly.
I’m not a 100% sure how many dlls I have to rebuild, but I thought that’s what -build in the console command is for. And looking at the log I think the build step finishes correctly.
1.) Try and move something in these blueprints (like move a node or add a useless comment),save, compile and build.
2.) Remove the references of those blueprints in you game then compile->build.
Ok, so changing blueprints or re-creating them with the updated version of the editor changed nothing. Don’t know if I should try removing all references to them from the project completely since these are the most basic and frequently used blueprints in the game, including the main map.
I fixed it. It turned out to be my own silly mistake - one wrong path in the build script and I was still using an old version of the engine for building the game dll.