UE5 / Control Rig Causing complete crash

So i’ve been working on a project and I am using Control Rig which I totally understand is not stable. It was the easiest way to animate my characters in my scene.

Everything was working perfect. I saved project and closed for the next day. however now any time i try to open the sequence it totally crashes UE5. If i disable the Control Rig plugin before opening the sequence it will open however none of my animations are there.

Here is the Error code.

LoginId:ea8c832b450094467db1799323afb4af
EpicAccountId:4ea55f1ab9d145858c5924742f6b0eec

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 707] Array index out of bounds: 0 from an array of size 0

UnrealEditor_ControlRig
UnrealEditor_MovieSceneTracks
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_ContentBrowserAssetDataSource
UnrealEditor_ContentBrowserAssetDataSource
UnrealEditor_ContentBrowserAssetDataSource
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Any chance anyone has an idea so i don’t lose the animations? I tried 4.26.2 but other things im using are not supported.

ControlRigError|560x500

Try run project from visual studio and check what array overflowing.

@Metatrox were you ever able to figure out what was causing this error message?

I’m using control rig with UE5 latest release and it still crashes sometimes. It happend when animating the rig in sequencer, so nothing special. Hope this will be fixed at some point.

1 Like

I’m experiencing the same thing…every time I try to bake any rig to my character in Sequencer it crashes… regardless of the animation, rig, or settings…This was after they fixed like 12 Control Rig Bugs Causing Crashes.

Unreal Engine 5 is crashing so much I’ve thought about making a remix video with Unreal Crashes going off like strobe lights

3 Likes

Jesus Christ…PLEASE FIX THIS…IT’S LITERALLY PREVENTING ME FROM FINISHING MY PROJECT AND IT’S HAPPENED TWICE TODAY ON TWO DIFFERENT PROJECTS…

ONCE IT STARTS YOU CAN’T DO ANYTHING ABOUT IT BUT TRASH YOUR PROJECT…THERE’S NO WAY AROUND IT.

1 Like

I get a control rig error as well, when importing a metahuman into a fresh UE5 C++ project. As soon as I add a single C++ class (no custom logic added) and compile, it crashes.

If I disable the control rig plugin, it forces me to disable IKRig and plugins required for animation retargeting, so I can’t use metahumans with custom animations.

I’m empathetic that the UE devs are working hard to fix these issues, but I’d think that having metahumans work in a C++ project would be high priority.

1 Like

I found that switching my physics constraints from SLERP to Twist+Swing and Twist activated, causes a complete crash (array assertion error) in 5.1 with my control rig. Can s.o. confirm that?

Edit: I think it’s bugs in the Physics Asset (maybe dependent on Skeleton and Bone setups), checking Primitives and Constraints seems to fail quickly

I’ve found that deleting constraints manager actor stops the crash that was occuring any time I opened an offending level sequence. But downside is that I have to setup the animation again.

Hope this can be fixed soon.

1 Like

Is this problem solved? i have the same issue that my old version project upgraded to the UE5 5.1.1 version, but once i opened the control rig blueprint of my animation it crashed badly!

I had the same problem with a procedural animation and I fixed it by lowering the Node Run Limit to about 128 in Class Settings of my Control Rig Graph. I hope it can be useful to someone.

2 Likes

I noticed that I’m working normally and something is modifying the control rig assets and then during the next project load, the project is crashing. I didn’t touch these assets for them to need saving, so that might be a hint into whatever is going on here.

1 Like