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.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-84945 in the post.
1 |
Component | UE - Graphics Features |
---|
Created | Nov 22, 2019 |
---|---|
Resolved | Jun 28, 2023 |
Updated | Sep 19, 2024 |