Description

UInstancedStaticMeshComponent::CreateSceneProxy() is missing a

LLM_SCOPE(ELLMTag::InstancedMesh);

 and during level loading allocations for it appear in LoadMapMisc instead of InstancedMesh.

Additional static mesh allocations appear under LoadMapMisc that originate in the  FScene::BatchAddPrimitivesInternal<UPrimitiveComponent> function where the UPrimitiveComponent type is a StaticMeshComponent.

Steps to Reproduce
  1. Run a game launcher with "-trace=default,memory"
  2. Open a level that contains an Instanced Static Mesh
  3. Close the game launcher
  4. Open the generated Unreal Insights trace and look at the allocations that fall under LoadMapMisc

Expected

Allocations for Static Meshes appear in the StaticMesh or InstancedMesh LLM tags

Actual

Some Static Mesh and Instanced Static Mesh allocations appear under the LoadMapMisc tag

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Rendering Architecture
Affects Versions5.45.5
Target Fix5.6
CreatedNov 12, 2024
UpdatedNov 12, 2024
View Jira Issue