Unknown cook error, urgent help?

I’m trying to package a game for distribution and I’m getting an “unknown error” while cooking. Could somebody please help me out? [link text][1]

89447-cook+log.txt (492 KB)

Hey ,
I Had a similar problem and it was because of the Substance Plugin, so disable any foreign plugin and restart it if not, Try to Refresh your blueprint then make sure that the global default server game mode is not set to NONE ( match it with the one you picked in the Default GameMode) in your maps & modes tab from the project settings then Restart your Computer and give it another try!
but it seems from the log that you have to delete Config, Saved and Intermediate folders from your game folder. But it’s a risky step, should always backup your stuff.

Hey ,

Please try what has suggested. If that does not work, please look over your blueprints and any code within your project to ensure they’re all firing correctly. If you are able to get a bit further but run into another issue, please upload your new logs as a .txt file as before.

MainFrameActions: Cooking (Windows): UE4Editor-Cmd: [2016.05.04-19.55.59:136][  0]LogWindows:Error: === Critical error: ===
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: Assertion failed: FBlueprintNativeCodeGenUtils::FinalizePlugin(GetManifest(), CommandLineParams) [File:D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Developer\BlueprintNativeCodeGen\Private\BlueprintNativeCodeGenModule.cpp] [Line: 284] 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: [2016.05.04-19.55.59:136][  0]LogOutputDevice:Error: 
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: end: stack for UAT
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: [2016.05.04-19.55.59:141][  0]LogPhysics:Warning: PHYSX: ..\..\PhysX\src\NpScene.cpp (2946) 8 : PxScene::unlockWrite() called without matching call to PxScene::lockWrite(), behaviour will be undefined.
MainFrameActions: Cooking (Windows): UE4Editor-Cmd: [2016.05.04-19.55.59:141][  0]LogPhysics:Warning: PHYSX: ..\..\PhysX\src\NpScene.cpp (2946) 8 : PxScene::unlockWrite() called without matching call to PxScene::lockWrite(), behaviour will be undefined.
MainFrameActions: Cooking (Windows): CommandUtils.Run: Run: Took 30.6347522s to run UE4Editor-Cmd.exe, ExitCode=3

Thanks! :slight_smile: