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…
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.
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.