Packaging fails with unknown error

Packaging fails with unknown error.

The only “errors” I see in the log are

LogPhysics:Error: PHYSX: (d:\ori.cohen_g6217_physics\engine\source\thirdparty\physx\physx-3.3\source\physx\src\NpRigidBodyTemplate.h 437) eINVALID_PARAMETER : RigidBody::setRigidBodyFlag: kinematic bodies with CCD enabled are not supported! CCD will be ignored.

It’s repeated 4 times. Is this preventing my build? I don’t know what it means exactly. I’ve checked all my blueprints and meshes in them for CCD enabled and none is. Anyway to track this down. The log isn’t very helpful here. I’ve already deleted half my map trying to figure out whats going on . (I have a backup for when I find the culprit but im not any closer to finding it it seems)

MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.06.26-21.25.19:172][  0]LogInit:Display: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.06.26-21.25.19:172][  0]LogInit:Display: Warning/Error Summary (Unique only)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.06.26-21.25.19:172][  0]LogInit:Display: -----------------------------------
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.06.26-21.25.19:173][  0]LogInit:Display: LogPhysics:Error: PHYSX: (d:\ori.cohen_g6217_physics\engine\source\thirdparty\physx\physx-3.3\source\physx\src\NpRigidBodyTemplate.h 437) eINVALID_PARAMETER : RigidBody::setRigidBodyFlag: kinematic bodies with CCD enabled are not supported! CCD will 
be ignored.
2016.06.26-21.25.19:178][  0]LogInit:Display: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.06.26-21.25.19:178][  0]LogInit:Display: Failure - 4 error(s), 5 warning(s)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.06.26-21.25.19:179][  0]LogInit:Display: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: Execution of commandlet took:  72.57 seconds
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 80.7298439s to run UE4Editor-Cmd.exe, ExitCode=1
MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. ---> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for P:\Project.uproject; see log \AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+AppInstalls+Epic+Games+4.12\Cook-2016.06.26-17.25.20.txt
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
MainFrameActions: Packaging (Windows (64-bit)):    at Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)):    --- End of inner exception stack trace ---
MainFrameActions: Packaging (Windows (64-bit)):    at Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.BuildCommand.Execute()
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files...
MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Cook Failure

Anyone? Still having this issue unfortunately.

I have this now too… WTF. I have no clue what this error is! Need help :frowning:

I found my error. It was an Object using CCD. Thats under collision v. “Use CCD”

It was in the firstperson fps template. ghastly error…

is it a VR project ?

which object was it?

i found my issue…

it was a skeletal mesh. CCD was NOT on. But there must be something up with the physics asset. I removed the physics asset and used per poly collision and the issue went away.

There is definitely a bug here somewhere.

This worked for me too. I used the “enable physics” node in blueprints on an actor with a physics asset which seemed to cause the problem. Deleting that physics asset seemed to fix the problem for me.