Hello !
One of our QA is testing our game (5.5.4) with -stompmalloc and we get a 100% crash in a cinematic inside MovieSceneTransformOriginSystem.cpp on this line:
TransformOriginsByInstanceID->Insert(Mapping.Child.InstanceID, (*TransformOriginsByInstanceID)[Mapping.Parent.InstanceID]);
It look like the sparse array is reallocated while doing insert but the transform we want to insert is a reference inside the array itself (the operator return a ref and the Insert function take a ConstInitType that could be a reference). Doing a copy of the transform before inserting it remove the crash:
const FTransform ParentTransform = (*TransformOriginsByInstanceID)[Mapping.Parent.InstanceID]; TransformOriginsByInstanceID->Insert(Mapping.Child.InstanceID, ParentTransform);Does the fix seems correct to you or did we miss something ?
Thx for your time.
Vincent