Crashing frequently in Material Graph Editor

Engine crashing frequently while working in material editor graph and material have no dependencies yet. It’s really frustrating

Version : 5.7.4
OS : Windows 11

Cleared the project cache folders and still the same. Can some one tell me what’s going on with engine

Hello there @Origins!

This is a peculiar scenario, just dragging to create a new node crashes the whole thing. The crash screen does give us a few clues, though:

Assertion failed: (Index >= 0) & (Index < ArrayNum)
Array index out of bounds: 0 into an array of size 0

This error means that the engine is trying to access a data array, and finds it empty. And since the related trace aims at “UnrealEditor_Engine”, that’s coming from the engine itself, not from project’s code.

The most likely cause is corruption, even if you already cleared the project’s cache. Yet, there’s one element that can still hold invalid data, and that’s the engine’s own cache. To clear that one out, you need to go to your system’s local data, usually at %LOCALAPPDATA%\UnrealEngine\Common. There, delete the DerivedDataCache folder, then start the engine again, open an empty project, and test a new node.

Alternatively, if the issue persists even with the engine’s cache cleared, then I would verify the whole installation. To do that, from the launcher, locate your install, open the drop down menu, and click on “Verify”. The process should repair any broken element that could be causing this.