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 [Link 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 to Questions & Answers just mention UE-86550 in the post.

3
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.24
Target Fix4.26
Fix Commit14297328
Release Commit14297328
CreatedJan 10, 2020
ResolvedSep 11, 2020
UpdatedApr 28, 2021
View Jira Issue