Description

This won't always happen, but the call in ImportDestructibleMeshFromApexDestructibleAsset to LODModel.ReleaseResources(); will enqueue render commands to release the resource, but the call after that loop to ImportedResource->LODModels.Empty(1); will run destructors on the objects, which will fail if the renderer hasn't freed the resources yet.

Need to flush rendering commands before emptying the array.

Steps to Reproduce

1) Import a destructible mesh from an APEX asset (.apx, .apb)
2) Reimport the mesh

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentPhysics - Destruction
Affects Versions4.134.144.15
Target Fix4.15
Fix Commit3266034
Main Commit3389599
Release Commit3266034
CreatedJan 20, 2017
ResolvedJan 20, 2017
UpdatedApr 27, 2018