Fatal crash: Loading project, "Failed to load special material"

Someone from the staff please help me! :frowning:

I was working on project A, everthing fine.
Then open a new project B and create a new Blueprint class. When finished I used “migrate” to transfer it to my project A.

Now when I open project A it crash when loading. I tried removing the folder with the migrated blueprint and it doesn’t work, the crash persist.

Some days of work will be lost if I lost this project just for this simple reason.

Everything is wonderful when UE4 is not crashing.

Thanks,

Version : 4.6.1 binary.
crash log: link text

This is the crash text, it says: “Failed to load special material” (i have no idea)

MachineId:5328C89C4982499B63B21896715E19F6
EpicAccountId:

Unknown exception - code 00000001 (first/second chance not available)

Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.6\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp] [Line: 1208]
Failed to load special material ‘’

KERNELBASE + 37901 bytes
UE4Editor_Core + 3092349 bytes
UE4Editor_Core + 1597391 bytes
UE4Editor_Engine + 9517928 bytes
UE4Editor_Engine + 9494704 bytes
UE4Editor_UnrealEd + 1702431 bytes
UE4Editor_Engine + 9482621 bytes
UE4Editor_UnrealEd + 1700495 bytes
UE4Editor_UnrealEd + 1691531 bytes
UE4Editor_UnrealEd + 6487693 bytes
UE4Editor!FEngineLoop::Init() + 1147 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:1919]
UE4Editor_UnrealEd + 6308564 bytes
UE4Editor!GuardedMain() + 285 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:123]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

UPDATE: Aggressive-deleting-files-isolation made results: The crash is originated from Config\DefaultEngine.ini. I can delete any other file and folders of my project and the crash never goes except when I delete DefaultEngine.ini, then editor opens without crashed but this is still not a solution, I have not found the problen inside the 141kb of DefaultEngine.ini text.

1 Like

UPDATE:
Reproducing the same steps migrating the asset to a new project successfully. No crashes.
Problem persist in original big project, maybe is not related to “migrate” tool.

UPDATE:
Trying to isolate problem I have even deleted ALL the content folder and still shows the same crash error “failed to load special material…”.

UPDATE: Aggressive-deleting-files-isolation made results: The crash is originated from Config\DefaultEngine.ini. I can delete any other file and folders of my project and the crash never goes except when I delete DefaultEngine.ini.
Deleting it the editor opens and I can load my maps without crashing, just some expected anomalies beacuse… you know, I have delted DefaultEngine.ini.

Found by trial error:

This two line in the DefaultEngine.ini was causing the crash:

     PreviewShadowsIndicatorMaterialName=/Engine/EditorMaterials/PreviewShadowIndicatorMaterial.PreviewShadowIndicatorMaterial
PreviewShadowsIndicatorMaterialName=None

Deleting the second one which set that parameter to None fixed the crash and now the project open fine and everthing works.

2 Likes

In which DefaultEngine.ini ?

I found it in the BaseEngine.ini. However, there was no second row to delete…

I found it, it is just in the “yourproject”/config!DefaultEngine.ini

Thank You! It worked The problem for me was that the material didnt exist in my project folder so i switched the Name=None. :heart:

I cant find the preview material thingy in there it is just alot of non sense for me typed words and it is just not there

i simply cant see this massage in the DefaultEngine.ini ( ```
PreviewShadowsIndicatorMaterialName=/Engine/EditorMaterials/PreviewShadowIndicatorMaterial.PreviewShadowIndicatorMaterial
PreviewShadowsIndicatorMaterialName=None

There is a million of DefaultEngine.ini WITCH ONE OF THEM???