We are occasionally seeing the same error message as the thread [Packaged build is corrupted by unknown [Content removed] when trying to run cooked game builds from our build servers:
New pak file ../../../XXXXXXXXX/Content/Paks/XXXXXXXXX-WinGDK.pak added to pak precacher.
FlushAsyncLoading(1): 1 QueuedPackages, 0 AsyncPackages
Updated: NewPackages=0, OldPackages=0, TotalPackages=0
LoadPackage: SkipPackage: /Engine/EngineMaterials/WorldGridMaterial (0x953039A7B296B2EE) - The package to load does not exist on disk or in the loader
Failed to find object ‘Material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial’
appError called: Assertion failed: GDefaultMaterials[Domain] != nullptr [File:J:\w\XXXXXXXXXXX\Engine\Source\Runtime\Engine\Private\Materials\Material.cpp] [Line: 645]
Cannot load default material ‘engine-ini:/Script/Engine.Engine.DefaultMaterialName’ [Domain=MD_Surface] from path ‘/Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial’
While the symptom looks the same as that thread, the cause is likely different. In that thread’s replies, it mentions a corrupt Perforce workspace on the build machine. From our logs, it doesn’t look like there’s any consistency between what build machine(s) are involved, and other people downloading the same cooked build from the same source are able to load in just fine.
The following are the peculiar patterns I’m seeing in the crash database:
- It pops up every couple of weeks and then immediately disappears
- It only seems to be reported by external people (usually external QA, but at least once from a co-dev employee), never from anyone within the studio.
- It always seems to show up twice from the same person/machine/build about 2 minutes apart, then disappears until it comes back a week later for another matched pair from someone else.
- Most people downloading the same build from the same source are able to run the game without any crashes.
- Other than it always being someone external to the studio, there seems to be no consistency (like multiple QA people hitting it, but always on the same dev PC, or always coming from a specific build server).
Looking at other logs from the same builds which do not crash, at roughly the same place in the log, there’s this warning instead, which seems similar enough to guess that it might be related:
LogStreaming: Warning: Flushing package /Engine/EngineMaterials/DefaultMaterial while it’s being preloaded in the same callstack is not possible. Releasing request 6 to unblock.
I took a look through Perforce, and I found CL 43038808, which sounded promising as a potential fix for this, but I integrated those changes and I am still hitting the LogStreaming warning. The thread linked above is the only one I could find searching previous EPS/UDN discussions, but there may be something out there I missed.
[Attachment Removed]