[UE 5.3.2] Assertion failed: Index>=0 && Index<NumBits when stopping the game in editor

Hi, I’m new to Unreal and currently following an online course.
Everything went great for a couple of months until this crash started showing up . It occurs about 30% of the time when pressing Stop during Play in Editor. I’ve now had this issue for months and I couldn’t find anything about it on the internet and that crash corrupted my project twice.

Here’s the crash report

Assertion failed: Index>=0 && Index<NumBits [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\BitArray.h] [Line: 1418]

UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
VCRUNTIME140
ntdll
ntdll
ntdll
UnrealEditor_Paper2D
UnrealEditor_Engine
UnrealEditor_Renderer
UnrealEditor_Engine
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

And here’s the full crash log if it can help
RoadToTemehani.log (197.2 KB)

Any help would be appreciated.
Thanks in advance.

-UPDATE-
I found out that I can reproduce this crash 100% of the time if I stop the Play in Editor while a Timeline is running, like this one.

(post deleted by author)

Solution found

1 Like