UE 4.27.2 crashes everytime I open the static mesh editor or the material editor and I don't know why

I am required to use Unreal Engine 4.27 for a project and everything was fine for the past 2 weeks but for the last 2 days everytime I try to open the static mesh editor or the material editor in any file either any of my old files or a completely new file UE just crashes giving this message:
Assertion failed: IsValid() [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 824]

I’ve tried deleting the config file from my projects and then restarting it, deleting UE 4.27 and re-downloading it, re-downloading the epic launcher but the crash continues and nothing I do seems to work. And this issue only persists in this specific version of Unreal, UE 5.5 works just fine