UE5 Material editor crash

I cant use material editor. As soon as I click on edit button on a material, engine crashes.

LoginId:e2a0e2234f242d90867540a5df628938
EpicAccountId:b01dfbcac4a34d899323eadbed0f0751

Assertion failed: (Parameters.DestClass->GetPropertiesSize() >= Parameters.SourceObject->GetClass()->GetPropertiesSize()) [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2756] Source and destination class sizes differ. Source: Material (2848) Destination: PreviewMaterial (2840)

UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_MaterialEditor
UnrealEditor_MaterialEditor
UnrealEditor_AssetTools
UnrealEditor_GLTFExporter
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_ContentBrowserAssetDataSource
UnrealEditor_ContentBrowserAssetDataSource
UnrealEditor_ContentBrowserAssetDataSource
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_ContentBrowser
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Hey there @BedriSinan! Welcome to the community! Looks like there’s a mismatch in the class size between the actual and the preview window.

Is this for all materials or just this one in particular?

Are you using any third party plugins?

What are your specs and which version of UE5 are you running?

What were you working on when this occurred?