# UE5 Material editor crash

**URL:** <https://forums.unrealengine.com/t/ue5-material-editor-crash/1066134>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, crash, question\
**Created:** [April 16, 2023, 4:23pm UTC](https://forums.unrealengine.com/t/ue5-material-editor-crash/1066134 "2023-04-16T16:23:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BedriSinan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BedriSinan](https://forums.unrealengine.com/u/BedriSinan)\
**Post date:** [April 16, 2023, 4:23pm UTC](https://forums.unrealengine.com/t/ue5-material-editor-crash/1066134/1 "2023-04-16T16:23:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [April 17, 2023, 8:08am UTC](https://forums.unrealengine.com/t/ue5-material-editor-crash/1066134/2 "2023-04-17T08:08:39Z")

</div>

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?
