5.1 Windows Build Failure (cooking)

Having some issues Building a 5.1 project for Windows. Specifically during the Cooking process.

It would be great if anyone can help me find the cause of the problem but even better if there is any advice on how to learn how to diagnose any build issues in the future.

Some background; I was successful building on 5.0 and switched to 5.1 and now cannot seem to get a build.

Also, that file path (in the Log below) is odd since it doesn’t exist on my system. Not sure where it comes from, if it is part of the cause of failure or how to fix.

Thank you in advance for any help. Error from the Log below

UATHelper: Packaging (Windows): LogWindows: Error: appError called: Assertion failed: Simplifier.GetRemainingNumVerts() > 0 [File:D:\build\++UE5\Sync\Engine\Source\Developer\NaniteBuilder\Private\Cluster.cpp] [Line: 414]
UATHelper: Packaging (Windows): LogThreadingWindows: Error: Runnable thread Background Worker #2 crashed.
UATHelper: Packaging (Windows): LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows): LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: Assertion failed: Simplifier.GetRemainingNumVerts() > 0 [File:D:\build\++UE5\Sync\Engine\Source\Developer\NaniteBuilder\Private\Cluster.cpp] [Line: 414]
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: Crash in runnable thread Background Worker #2
UATHelper: Packaging (Windows): LogWindows: Error: end: stack for UAT
PackagingResults: Error: appError called: Assertion failed: Simplifier.GetRemainingNumVerts() > 0 [File:D:\build\++UE5\Sync\Engine\Source\Developer\NaniteBuilder\Private\Cluster.cpp] [Line: 414]
PackagingResults: Error: Runnable thread Background Worker #2 crashed.
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Critical error: ===
PackagingResults: Error: Assertion failed: Simplifier.GetRemainingNumVerts() > 0 [File:D:\build\++UE5\Sync\Engine\Source\Developer\NaniteBuilder\Private\Cluster.cpp] [Line: 414]
PackagingResults: Error: Crash in runnable thread Background Worker #2
PackagingResults: Error: end: stack for UAT

afaik this is a (temporary?) mount point for building/packaging/compiling.

As for why you’re getting an Assertion Failed error from Nanite, my guess is there was a problem with one of your static meshes before it was converted to nanite, resulting in a corrupted asset; then final packaging can’t resolve the issue, and you get a critical error in the NaniteBuilder.

ctrl+C and google; build as often as you can, processor speed/RAM allowing. The more often you build, the easier it will be to identify problem assets.

1 Like

Great advice and thanks for the help I will go through my Nanite meshes and see if that is the cause.

1 Like

I disabled Nanite for the project and on all Meshes and still get the same error for cooking :frowning:

I am having this same error, no idea what to do.