Approximation returns black mesh when Minimum Lod is not 0

In attached project, you can see how a mesh generated by MergeActor’s approximation mode is broken if source mesh has lod and a minimum lod different than 0. Mesh has a black basecolor (and other attributes too, only normal works). Mesh appears to have an offset on origin.

In level Map I put s simple cone with lods, its copy with minimum lod = 1, and their approximated output on top of each actor.

Steps to Reproduce
Set Minimum Lod on a Lodded mesh to 1. Put mesh in scene. Run MergeActor Tool, in Approximate mode (and default settings). Look at generated mesh

Hello,

I wasn’t able to get the Merge Actors tool to generate any output with the cones in the project or default cone shapes in UE 5.6 or latest. I just get the error message:

LogApproximateActors: Warning: Solidify mesh has no triangles - unable to generate meshI’m passing this along to my colleagues who are more familiar with the correct operation of the tool for further troubleshooting.

Hi Marco!

Found the issue, it’s related to this line in WorldRenderCapture.cpp, in the SetCommonShowFlags(…) function

ShowFlags.LOD = 0;You can safely remove it, it make no sense.

I made the change already, this will be corrected in UE 5.7

Thanks!

That code line is in a lot of places in the engine code. Should it? I tried other merge methods (such as the first one, “Merge”) and I got a black mesh in those too.

I’m not sure that’s related, I’ll need to investigate.

Merge bakes material differently than Approximate, but it’s possible forced LOD is also broken in there.

It might also be a result of what you used for the “LOD Selection” setting ? There might be combinations that are broken when using a MinLOD on the static mesh I suppose.

If you can share more details on what settings you tried, that would be great.

Thanks

Sebastien

Hi Marco! Sorry I’ve been unable to repro this with Merged Mesh. I tried a lot of options and they all baked properly.

Can you share a simple test project that shows the issue ?

Nothing fancy: just the defaults