FCableSceneProxy::BuildCableMesh in CableComponent.cpp:233 showed up as a hot spot in profiling because the two TArray allocators in SetDynamicData_RenderThread used by BuildCableMesh are created and appended to every frame in a worker. they're about 2-8kb in size.
The TArrays are getting filled up then memcpy'd to an RHI buffer then dropped right after in the same function. This can be fixed by converting the function to just generate and write to the RHI buffer as the elements are being generated.
n/a
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-247607 in the post.
0 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.7 |
Created | Feb 12, 2025 |
---|---|
Updated | Feb 12, 2025 |