Mesh draw commands don't hold strong references to resources. When caching mesh draw commands, their lifetimes can match the parent scene proxy, which can be very long. This increases the chance that resources being added to mesh draw commands have a smaller lifetime and it can be difficult to track when those resources cause crashes.

It would be helpful to have a validation layer that tracks the lifetime of these resources and warns the user when they delete a resource but don't delete the respective mesh draw command.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-84945 in the post.

Login to Vote

Target Fix4.26
CreatedNov 22, 2019
UpdatedMar 24, 2020