Using Unreal Engine 5.2.1. I have a Blueprint Actor with a Control Rig Component. I get two different crashes, seemingly randomly. The only consistent factor I’ve found is that the crashes occur in FControlRigSceneProxy::GetDynamicMeshElements when bShowDebugDrawing is enabled.
Debugging using Visual Studio I’ve found that when it crashes it’s either an Access violation reading location error when drawing ERigVMDrawSettings::Lines
PDI->DrawLine(InstructionTransform.TransformPosition(Points[PointIndex]), InstructionTransform.TransformPosition(Points[PointIndex + 1]), Instruction.Color, SDPG_Foreground, Instruction.Thickness);
OR
an Array index out of bounds: 0 from an array of size 0 error when trying to access the DrawInterface
const FRigVMDrawInstruction& Instruction = DrawInterface[InstructionIndex];
I can avoid the crashes by disabling bShowDebugDrawing, but that isn’t ideal.