Playing maps with landscapes in packaged games crashes on load

I’m trying to test playing my game through a packaged version and the packaging process completes successfully. When I run the packaged game, my main menu level (with no Landscape) loads properly. But when I use the main menu to try to load a gameplay map with a Landscape, it crashes on load with this error:

[2017.03.27-07.48.13:979][438]LogWindows:Error: This platform requires cooked packages, and physX data was not cooked into LandscapeHeightfieldCollisionComponent /Game/Maps/UEDPIE_1_TD-TowerIsland.TD-TowerIsland:PersistentLevel.Landscape_0.LandscapeHeightfieldCollisionComponent_8.

I’ve tried just about everything I can think of, from duplicating maps, to recooking content with so many different settings, and nothing works. If it helps, this fatal assertion is coming from [\Engine\Source\Runtime\Landscape\Private\LandscapeCollision.cpp] at [Line: 1425].

Hey Chilliam,

Do me a favor and try to delete your Saved & Intermediate folders located in your project directory. Then package another build and see if it still occurs.

I’ll spend some time testing packaging a project containing a landscape to see if I can get the same issue to occur in the meantime.

Edit: I was unable to reproduce the same issue after creating a landscape and packaging the game.

That’s so strange. I have done that multiple times and still nothing works. I guess maybe a binary is corrupted or something? I am building from source so that could be an issue. I’ll try rebuilding 4.15 today and see if that fixes anything.

Okay so it was some corrupted binary. Rebuilt the engine today and tried again and this time it does not crash (although it did do weird things like enabling blocking collision on my maps’ skyspheres). Thanks for the assistance though!