Compiling project leads to crash

Hello, could someone please help me. When I’m trying to hot reload the project engine got crash with assertion failed. I couldn’t find any particular reason why this can happen. It may crash even if I reload unchanged code. Also I tried to create a new project and change code there, but result the same.
Here’s the error report:

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:/Users/build/Build/++UE5/Sync/Engine/Source/Runtime/Core/Public/Containers/Array.h] [Line: 691] Array index out of bounds: 54 from an array of size 280
URigHierarchy::Save(FArchive&) Address = 0x1cbdc58d6 (filename not found) [in UnrealEditor-ControlRig.dylib]
URigHierarchy::Serialize(FArchive&) Address = 0x1cbdc570a (filename not found) [in UnrealEditor-ControlRig.dylib]
FAsyncTask<FReload::ReplaceReferencesToReconstructedCDOs()::FFindRefTask>::DoWork() Address = 0x130d016e5 (filename not found) [in UnrealEditor-UnrealEd.dylib]
FAsyncTask<FReload::ReplaceReferencesToReconstructedCDOs()::FFindRefTask>::DoThreadedWork() Address = 0x130d0131e (filename not found) [in UnrealEditor-UnrealEd.dylib]
FQueuedThread::Run() Address = 0x10ed4ac28 (filename not found) [in UnrealEditor-Core.dylib]
FRunnableThreadPThread::Run() Address = 0x10ed44034 (filename not found) [in UnrealEditor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0x10eca44b4 (filename not found) [in UnrealEditor-Core.dylib]
_pthread_start Address = 0x7ff806c114e1 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7ff806c0cf6b (filename not found) [in libsystem_pthread.dylib]

Machine: MBP M1 Pro 16Gb RAM, OS Monterey.
Happened: UE 5.0.1/5.0.2

1 Like

Same problem.
Crash every 50% times when hot reload from editor.
Compilation via rider passes without problems.

I think there’s some kind of problem in metahuman.

Unreal 5.1
Macbook m1 max | Ventura 13.2

The problem persists in 5.1.1.

On average, a crash occurs every 50% of hot recompile.

By error, it is impossible to understand what, where, because of which asset the failure is.
Obviously, this is because of the metahuman control rig. Oskar or Wallace.