constant crash

I’m trying to make a game but out of no where it’s started crashing everytime i open it can anyone help with this?
Here’s the crash message

Assertion failed: Index == TypeIndex [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Misc\TVariant.h] [Line: 118]

UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

Hello there @thristy_ares!

The error you are getting has been encountered a few times through the community, and tackled in a number of ways. Here are solutions that can be tested for your scenario:

  1. Please try deleting the intermediate, config, and saved folders from your affected project, then re-opening it (backup the folders in question, just in case). Certain settings may be reverted by this action, as the map used.

  2. Change two lines in DefaultEngine.ini, in the Config Folder:

[/Script/EngineSettings.GameMapsSettings]
EditorStartupMap=
GameDefaultMap=
  1. Edit the FPS component location in DefaultEngine.ini to the right location:

EditorStartupMap=/Game/FirstPerson/Maps/FirstPersonMap.FirstPersonMap
to
EditorStartupMap=/Game/cw_FPS/FirstPerson/Maps/FirstPersonMap.FirstPersonMap

  1. Change the following values, then re-build:

Engine/Source/Runtime/Engine/Private/Animation/AttributeTypes.cpp
EDelayedRegisterRunPhase::ObjectSystemReady => EDelayedRegisterRunPhase::PreObjectSystemReady