Description

FastPath can't handle TMap (maybe any other container type too) in AnimGraph causes this crash.
FastPath copies TMap property to the AnimNode member property directly like MemCopy.
So two properties point the same address.
At garbage collection, The pointer will be released twice.

As a workaround, Wrapping TMap with struct works fine.
Because it's handled as ECopyType::StructProperty.

Steps to Reproduce
  1. Build and open 421209-animnodecrash424.zip[Image Removed] with UE4.24
  2. Open Contents/Mannequin/Character/Mesh/TestFNameMapABP
  3. Repeat to compile and save it until engine crash( using "-stompmalloc" can trap it easily) 

 

Have Comments or More Details?

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

1
Login to Vote

Unresolved
ComponentAnim
Affects Versions4.24
Target Fix4.25
CreatedJan 10, 2020
UpdatedJan 13, 2020