Android package : Cooking failed

Hi people,

I am struggling on the packaging of my game with Android and I need some help because i really don’t get what the problem is. It’s even more confusing because the log doesn’t show any error. Just some warnings.
Is there something I’m missing ? please…help…

Here are the :

[UAT log][1] -
[CookLog][2]

58683-uat_log.txt (999 KB)
[2]: 58684-cook-2015.09.15-12.52.37.txt (3.55 MB)

You do have errors. One that points directly to a map

[2015.09.15-10.52.31:990][
0]LogSavePackage:Warning: Obj in
another map:
LandscapeMaterialInstanceConstant
/Game/Maps/Desert/City/DesertCity_Landscape.LandscapeMaterialInstanceConstant_4
[2015.09.15-10.52.31:990][
0]LogWindows:Error: Windows
GetLastError: L’opération a réussi.
(0) [2015.09.15-10.52.32:102][
0]LogWindows: === Critical error: ===

[2015.09.15-10.52.32:102][ 0]LogExit:
Executing StaticShutdownAfterError
[2015.09.15-10.52.32:140][
0]LogPhysics:Warning: PHYSX:
…..\PhysX\src\NpScene.cpp (2946) 8 :
PxScene::unlockWrite() called without
matching call to PxScene::lockWrite(),
behaviour will be undefined.
[2015.09.15-10.52.32:140][
0]LogPhysics:Warning: PHYSX:
…..\PhysX\src\NpScene.cpp (2946) 8 :
PxScene::unlockWrite() called without
matching call to PxScene::lockWrite(),
behaviour will be undefined.
[2015.09.15-10.52.32:140][
0]LogPhysics:Warning: PHYSX:
…..\PhysX\src\NpScene.cpp (2946) 8 :
PxScene::unlockWrite() called without
matching call to PxScene::lockWrite(),
behaviour will be undefined.
[2015.09.15-10.52.32:141][
0]LogPhysics:Warning: PHYSX:
…..\PhysX\src\NpScene.cpp (2946) 8 :
PxScene::unlockWrite() called without
matching call to PxScene::lockWrite(),
behaviour will be undefined.
[2015.09.15-10.52.32:142][
0]LogWindows:
FPlatformMisc::RequestExit(1)
[2015.09.15-10.52.32:142][ 0]Log file
closed, 09/15/15 12:52:32

So I would suggest going though “/Game/Maps/Desert/City/DesertCity_Landscape.LandscapeMaterialInstanceConstant_4” with a fine tooth comb, if its a materal, try creating it a different way, or replacing all instances of it with a test material and try packaging again.

If its a map, it could be a blueprint or sometihng. Try deleting half of the objects and try cooking, if it fails delete another half, continue until it succeeds then start adding stuf back in in 1/2’s until you find the object causing the issue and remove/fix/replace it.

Secondly. You get the same 4 Physics errors that I got when my game jam submission WOULD NOT package. It packaged fine for 3 days, then some teammembers added some assets and changed some maps when I went to bed and the next day it wouldnt cook and never did.

Hope this helps
Don’t forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/ they know exactly what you did to fix it/get it going.

Hey Moums,

Did the assistance from Nsomnia correct the packaging issue you were running in to originally?

Please let us know, thanks!

Thanks, I simply removed the landscape and the error disappeared. Of course further in the development I will have to address the issue but thanks. I thought the landscape thing was merely a warning. Nothing that could actually block the whole cooking process.

Happens to me when I clone the map.
The solution is to remove materials from the landscape and reapply them again.