Crash on Lumen Sparse Span Array (RemoveSpan)

This question was created in reference to: [Dangling pointer + mem corruption related to [Content removed]

and: [Crash on Lumen Sparse Span [Content removed]

Hi,

We recently notice a report of a crash in Shipping build on one of our users.

By searching on EPS, I found two related threads (see above).

The first one is referenced by the second as a solution to our problems: a memory corruption issue due to the usage of the Rename() function on PrimitiveComponents.

I would like to know if you have, as mentioned by the Epic Games Dev, a better solution to fix the memory corruption now, as I couldn’t find it on the Github in PrimitiveComponent.cpp.

Thank you,

Thomas

Steps to Reproduce
No repro, very rare crash.

Hello,

Unfortunately, this slipped through the cracks at the time and haven’t implemented the fix but intend to do so soon. Thank you for the reminder! Here’s a public issue for tracking (should be visible soon) https://issues.unrealengine.com/issue/UE\-370040

Alright, thank you for the info !