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]
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]
How does TextureRenderTarget2D get TArray<uint8> type data?
How to delete some elements correctly when deleting an array loop?
Why does the REMOVE method of map container remove elements have memory leaks?
How do I set a material as a post-processing material?
How would I go about lerping the rotation instead of it snapping when turning (pls dont sue me epic)
What is the difference between Camera and CineCamera?
How to implement springarm components to scale according to mouse position in spawn?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-101632 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.25 |
Target Fix | 4.26 |
Created | Oct 22, 2020 |
---|---|
Resolved | Oct 29, 2020 |
Updated | Sep 19, 2021 |