Description

I have attached a reproduction project with the above settings.
[Link Removed]
It crashes when packaged, launched and moved in-game.

This issue seems to occur when there is an object in the Unbuilt state in the HierarchicalInstancedStaticMesh.
Also, this issue is occurring in the "Render unbuilt instances" block inside void FHierarchicalStaticMeshSceneProxy::GetDynamicMeshElements().
ClampedMinLOD is considered in the normal "Render built instances" block, but in the "Render unbuilt instances" block, MinLOD is initialized to 0.
[Link Removed]

Steps to Reproduce

1. Prepare a Static Mesh with LOD and set minLOD to 1.
2. Set the StaticMesh to the BP to which the UHierarchicalInstancedStaticMeshComponent is added.
3. Add multiple Instanced Static Meshes.
4. Add "r.StaticMesh.StripMinLodDataDuringCooking = 1" to the Device Profile.
5. Packaging and launch. It crashes when moved in-game.
[Link Removed]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-101632 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.25
Target Fix4.26
Fix Commit14604450
Release Commit14604450
CreatedOct 22, 2020
ResolvedOct 29, 2020
UpdatedSep 19, 2021