Some parts of the proxy mesh generation does not correctly handle empty sections.
FMeshMergeHelpers::ExtractSections() will remove empty section, but some other parts of the process will not, which creates a mapping discrepency.
Before making any changes, we need to have a good set of test meshes. Some of the cases that should be tested:
Obviously, the output mesh should contain no empty section.
Use the merge actor tool on an actor which uses a static mesh that has two sections. The last section should reference a material but should have no triangles.
Using the "Simplify" algorithm on that mesh should result in the following error:
=== Critical error: ===
Assertion failed: Remap.IsValidIndex(PolygonGroupID.GetValue()) [File:D:\build\++UE5\Sync\Engine\Source\Developer\MeshMergeUtilities\Private\MeshMergeUtilities.cpp] [Line: 1815]
Missing material bake output index entry for mesh(section)
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-189838 in the post.
4 |
Component | UE - World Creation - Worldbuilding Tools - Merge Actor |
---|---|
Affects Versions | 5.2 |
Target Fix | 5.5 |
Fix Commit | 34931233 |
---|
Created | Jun 28, 2023 |
---|---|
Resolved | Jul 19, 2024 |
Updated | Oct 22, 2024 |