Hello,
I would like to report that when i cooked my paper2D game with 4.8 preview 1 i saw a MASSIVE performance difference between PIE and Cooked game. For more information you can read here : Cooked performance and Paper2d. - Feedback & Requests - Epic Developer Community Forums
That led me to ask for help from Noland in hope that he could shed some light to the above problem. After following his advice and started looking at the i saw hundreds or even thousands of lines filled with errors like this one when previewing in PIE :
[2015.05.20-19.50.38:904][984]LogPhysics:Warning: AddConvexElemsToRigidActor: ConvexElem is missing ConvexMesh (3: /Game/Sprites/Spartan_NEW_sprt/attack_1/Spartan_attack_1_NEW__009_png.Spartan_attack_1_NEW__009_png:BodySetup_1382)
and this one:
[2015.05.20-19.41.23:172][942]LogBlueprint:Warning: Loaded invalid component bound event in node /Engine/Transient.EdGraph_4265:K2Node_ComponentBoundEvent_883
Now when i try to cook my game the output log gets filled with these errors:
0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_49_png.Axe_49_png 17 (FlipX:0). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.29.37:059][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_49_png.Axe_49_png 32 (FlipX:0). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.29.37:063][ 0]LogPhysics:Warning: PHYSX: …..\PhysXCooking\src\convex\ConvexMeshBuilder.cpp (253) 32 : Gu::ConvexMesh::loadConvexHull: convex hull init failed! Try to use the PxConvexFlag::eINFLATE_CONVEX flag. (see PxToolkit::createConvexMeshSafe)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.29.37:063][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_49_png.Axe_49_png 17 (FlipX:1). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.29.37:065][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_49_png.Axe_49_png 32 (FlipX:1). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.29.37:073][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_48_png.Axe_48_png 32 (FlipX:0). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.29.37:078][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_48_png.Axe_48_png 32 (FlipX:1). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.29.37:095][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_46_png.Axe_46_png 28 (FlipX:0). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.29.37:101][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_46_png.Axe_46_png 28 (FlipX:1). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.30.00:897][ 0]LogPhysics:Warning: PHYSX: …..\PhysXCooking\src\convex\ConvexHullBuilder.cpp (1116) 32 : ConvexHullBuilder::CreateTrianglesFromPolygons: convex hull has a polygon with less than 3 vertices!
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.30.00:897][ 0]LogPhysics:Warning: PHYSX: …..\PhysXCooking\src\convex\ConvexMeshBuilder.cpp (253) 32 : Gu::ConvexMesh::loadConvexHull: convex hull init failed! Try to use the PxConvexFlag::eINFLATE_CONVEX flag. (see PxToolkit::createConvexMeshSafe)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.30.00:899][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_23_png.Axe_23_png 25 (FlipX:0). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.30.00:903][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_23_png.Axe_23_png 25 (FlipX:1). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.30.00:913][ 0]LogPhysics:Warning: PHYSX: …..\PhysXCooking\src\convex\ConvexHullBuilder.cpp (1116) 32 : ConvexHullBuilder::CreateTrianglesFromPolygons: convex hull has a polygon with less than 3 vertices!
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.30.00:913][ 0]LogPhysics:Warning: PHYSX: …..\PhysXCooking\src\convex\ConvexMeshBuilder.cpp (253) 32 : Gu::ConvexMesh::loadConvexHull: convex hull init failed! Try to use the PxConvexFlag::eINFLATE_CONVEX flag. (see PxToolkit::createConvexMeshSafe)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.30.00:914][ 0]LogPhysics:Warning: Failed to cook convex: /Game/Sprites/Axe_sprt/Axe_22_png.Axe_22_png 26 (FlipX:1). The remaining elements will not get cooked.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.30.00:921][ 0]LogPhysics:Warning: PHYSX: …..\PhysXCooking\src\convex\ConvexHullBuilder.cpp (1116) 32 : ConvexHullBuilder::CreateTrianglesFromPolygons: convex hull has a polygon with less than 3 vertices!
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.20-20.30.00:921][ 0]LogPhysics:Warning: PHYSX: …..\PhysXCooking\src\convex\ConvexMeshBuilder.cpp (253) 32 : Gu::ConvexMesh::loadConvexHull: convex hull init failed! Try to use the PxConvexFlag::eINFLATE_CONVEX flag. (see PxToolki
MainFrameActions: Packaging (Windows (64-bit)): t::createConvexMeshSafe)
When the game is finally cooked and i double click the created .exe my game crashes immediately without giving me any explanation whatsoever .
I do not know if all the above are related ( in 4.8 i could cook and run my game but the performance was terrible,in 4.9 i get errors , it cooks but it crashes) but there is definitely something wrong hidden in there.
Thank you.