UE5 - LogWindows: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum)

I am using Metahumans with my project and I keep getting this error. I can not fix it. It only fixes after I remove the folders for Metahuman and then place them back after starting up the project again. I have disabled simulation and removed the empty LODs in various hair types so the hair does not vanish. Does anyone know how to fix this?

[2021.06.25-06.35.45:612][  0]LogDerivedDataCache: Display: Failed to cache data. Maximum cache size reached. CurrentSize 519925 kb / MaxSize: 524288 kb [2021.06.25-06.36.03:221][  0]LogOutputDevice: Warning: 

Script Stack (0 frames):

[2021.06.25-06.36.03:222][  0]LogWindows: Windows GetLastError: The operation completed successfully. (0)` [2021.06.25-06.36.04:623][  0]LogWindows: Error: === Critical error: === [2021.06.25-06.36.04:626][  0]LogWindows: Error:  [2021.06.25-06.36.04:627][  0]LogWindows: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 707]  [2021.06.25-06.36.04:627][  0]LogWindows: Error: Array index out of bounds: 2 from an array of size 2 [2021.06.25-06.36.04:628][  0]LogWindows: Error:  [2021.06.25-06.36.04:628][  0]LogWindows: Error:  [2021.06.25-06.36.04:629][  0]LogWindows: Error: [Callstack] 0x00007ff884bbe4fc UnrealEditor-HairStrandsCore.dll!UnknownFunction [] [2021.06.25-06.36.04:631][  0]LogWindows: Error: [Callstack] 0x00007ff884b9bd91 UnrealEditor-HairStrandsCore.dll!UnknownFunction [] [2021.06.25-06.36.04:633][  0]LogWindows: Error: [Callstack] 0x00007ff884bc6494 UnrealEditor-HairStrandsCore.dll!UnknownFunction [] [2021.06.25-06.36.04:634][  0]LogWindows: Error: [Callstack] 0x00007ff8d1079709 UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:635][  0]LogWindows: Error: [Callstack] 0x00007ff8d0e76dca UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:635][  0]LogWindows: Error: [Callstack] 0x00007ff8d0e8bab2 UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:636][  0]LogWindows: Error: [Callstack] 0x00007ff8d0e7a255 UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:636][  0]LogWindows: Error: [Callstack] 0x00007ff8d0e8bfe8 UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:638][  0]LogWindows: Error: [Callstack] 0x00007ff8d0e8a7f6 UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:638][  0]LogWindows: Error: [Callstack] 0x00007ff8d0e6c13b UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:639][  0]LogWindows: Error: [Callstack] 0x00007ff8d0ed2cc2 UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:639][  0]LogWindows: Error: [Callstack] 0x00007ff8d11f9fac UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:640][  0]LogWindows: Error: [Callstack] 0x00007ff8d11f907a UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:640][  0]LogWindows: Error: [Callstack] 0x00007ff8d11f96e0 UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:641][  0]LogWindows: Error: [Callstack] 0x00007ff8d12052ef UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:641][  0]LogWindows: Error: [Callstack] 0x00007ff8d1210323 UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:642][  0]LogWindows: Error: [Callstack] 0x00007ff8d120fa0e UnrealEditor-CoreUObject.dll!UnknownFunction [] [2021.06.25-06.36.04:642][  0]LogWindows: Error: [Callstack] 0x00007ff8a8ec92ea UnrealEditor-Engine.dll!UnknownFunction [] [2021.06.25-06.36.04:645][  0]LogWindows: Error: [Callstack] 0x00007ff8a8f2f4f3 UnrealEditor-Engine.dll!UnknownFunction [] [2021.06.25-06.36.04:646][  0]LogWindows: Error: [Callstack] 0x00007ff8a8f28afc UnrealEditor-Engine.dll!UnknownFunction [] [2021.06.25-06.36.04:646][  0]LogWindows: Error: [Callstack] 0x00007ff8a7fd2366 UnrealEditor-Engine.dll!UnknownFunction [] [2021.06.25-06.36.04:647][  0]LogWindows: Error: [Callstack] 0x00007ff74f7d2ea8 UnrealEditor.exe!UnknownFunction [] [2021.06.25-06.36.04:647][  0]LogWindows: Error: [Callstack] 0x00007ff74f7f0a56 UnrealEditor.exe!UnknownFunction [] [2021.06.25-06.36.04:647][  0]LogWindows: Error: [Callstack] 0x00007ff74f7f0c0a UnrealEditor.exe!UnknownFunction [] [2021.06.25-06.36.04:648][  0]LogWindows: Error: [Callstack] 0x00007ff74f80573d UnrealEditor.exe!UnknownFunction [] [2021.06.25-06.36.04:649][  0]LogWindows: Error: [Callstack] 0x00007ff74f8086ba UnrealEditor.exe!UnknownFunction [] [2021.06.25-06.36.04:649][  0]LogWindows: Error: [Callstack] 0x00007ff90f8e7034 KERNEL32.DLL!UnknownFunction [] [2021.06.25-06.36.04:649][  0]LogWindows: Error: [Callstack] 0x00007ff911042651 ntdll.dll!UnknownFunction [] [2021.06.25-06.36.04:651][  0]LogWindows: Error:  [2021.06.25-06.36.04:702][  0]LogExit: Executing StaticShutdownAfterError [2021.06.25-06.36.04:707][  0]LogWindows: FPlatformMisc::RequestExit(1) [2021.06.25-06.36.04:714][  0]LogCore: Engine exit requested (reason: Win RequestExit) [2021.06.25-06.36.04:759][  0]Log file closed, 06/24/21 23:36:04