Editor crashes on launch: filename not found [in UE4Editor-Core.dylib]

Cannot start unreal due to crash on Os X (el capitan).

I have tried to uninstall everything and reinstalling it (based on
How do I uninstall UE4 on a Mac? - Installation & Setup - Unreal Engine Forums).

Crash report is in attached file. Please ask away if there is any information missing that might help you.

Callstack:

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x103de3e1b (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x103f6c317 (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x103fe0702 (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x103fc7df4 (filename not found) [in UE4Editor-Core.dylib]
LoadShaderSourceFileChecked(wchar_t const*, FString&) Address = 0x10a4351e3 (filename not found) [in UE4Editor-ShaderCore.dylib]
GetShaderIncludes(wchar_t const*, TArray<FString, FDefaultAllocator>&, unsigned int) Address = 0x10a436396 (filename not found) [in UE4Editor-ShaderCore.dylib]
AddShaderSourceFileEntry(TArray<FString, FDefaultAllocator>&, FString const&) Address = 0x10a43fc30 (filename not found) [in UE4Editor-ShaderCore.dylib]
GetAllShaderSourceFiles(TArray<FString, FDefaultAllocator>&) Address = 0x10a434d44 (filename not found) [in UE4Editor-ShaderCore.dylib]
BuildShaderFileToUniformBufferMap(TMap<FString, TArray<wchar_t const*, FDefaultAllocator>, FDefaultSetAllocator, TDefaultMapKeyFuncs<FString, TArray<wchar_t const*, FDefaultAllocator>, false> >&) Address = 0x10a436d5f (filename not found) [in UE4Editor-ShaderCore.dylib]
InitializeShaderTypes() Address = 0x10a439166 (filename not found) [in UE4Editor-ShaderCore.dylib]
FEngineLoop::PreInit(wchar_t const*) Address = 0x103d1dde0 (filename not found) [in UE4Editor]
GuardedMain(wchar_t const*) Address = 0x103d32224 (filename not found) [in UE4Editor]
-[UE4AppDelegate runGameThread:] Address = 0x103d41e83 (filename not found) [in UE4Editor]
-[FCocoaGameThread main] Address = 0x103ec79db (filename not found) [in UE4Editor-Core.dylib]
Unknown() Address = 0x7fff8e04fc6f (filename not found) [in Foundation]
_pthread_body Address = 0x7fff8f84ac13 (filename not found) [in libsystem_pthread.dylib]
_pthread_body Address = 0x7fff8f84ab90 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fff8f848375 (filename not found) [in libsystem_pthread.dylib]

link text

Hi PhroZenOne,

At what point is the editor crashing? Do you have access to the launcher? If so, select the library tab and at the top of the launcher, click on the drop down menu and select “Verify” for that version of the engine. Also, if the Launcher is working, add an engine and install an earlier version of the engine.

If the launcher itself is not available, please post your systems specs: You can find this in the Apple menu >About This Mac>More Info> Add the information from this window (serial # not necessary).

Also, if the crash reporter pop-up is present when the crash occurs please press the copy callstack to clipboard button, paste that in a text file, and post here. Finally, it is important that you hit “Submit” on the the crash reporter pop-up because vital information sent that way is not obtainable by us without that action.

-.

Hi. It crashes at startup of the editor.

Yes I have access to the launcher and are staring the editor through the launcher.

I have run the verify function without any change.

I installed 4.9.2 and it crashed in the exact same way.

I did submit the crash. Complete stack and extra info from last crash is attached to this comment. Also, the original post had the previous crash files attached (zip format).

link text

Thanks for submitting your crash using the Crash Reporter. Using that information I was able link this with other reports in order to file the following bug report: JIRA [UE-26014] This will greatly aid our developers in pinpointing the cause of the crash, at which point an update will be added to this post.

In the meantime, here are some more things you can try:

  • If any USB devices or other peripherals are plugged in, unplug them and try starting the editor.
  • Try deleting your DerivedDataCache folder: (Users>Shared>UnrealEngine>[Engine Version]>Engine>DerivedDataCache) and restarting the editor
  • If present, temporarily remove any projects from Users>[Your Name]>Documents>Unreal Projects (Place in a folder on your desktop) and restart the editor

-.

I have tried your suggestions but without any progress. Please advice if there is anything more you need to know. Currently I will try to build unreal from source instead. I’ll come back to you with the results of that endeavour.

I found out the reason for the crash. My file system is case sensitive (not default in OS X). The file could not be found because VHACD.Build.cs referred to the file with wrong case (/lib/ vs /Lib/).

This crash is fixed in 660ab7f0c9d34a5772d9e7dad80e63be54ecae65

Btw, that commit is HUGE (648 290 lines!), why the hell would someone allow commits like that. You can’t trace history or even diff it in a reasonable way. Please find the person responsible for stuff like that and pour some cold water over his/her head.

1 Like

Thanks for posting the solution for your crash. In regards to the huge commit,
that particular commit is a merge of one of our internal Development branches into the Master branch. Unfortunately the development branches are not yet mirrored to GitHub so the individual commits are not currently visible.

We are currently working on finding the best way to mirror the internal development branches to GitHub.

I also use a case-sensitive file system on a Mac, and was getting this crash too.

To anyone else having this problem, look for error message in ~/Library/Logs/Unreal\ Engine/Editor/UE4.log

In my case, the error was: Couldn't load shader file 'LpvDirectionalOcclusion', which is located at /Users/Shared/UnrealEngine/[version number]/Engine/Shaders/.

I had to rename LPVDirectionalOcclusion.usfto LpvDirectionalOcclusion.usf (i.e. change the “PV” to lowercase), and that fixed the “filename not found” crash.

1 Like

I am having these same errors and do not have a case-sensitive file system… Any other thoughts on this???

@Bamwd5: In order to help you, we will need the Callstack (like in the initial post) as well as your system specs.

Sure, no problem. I have attached the log and it was developed on MacBook Pro (Retina, 15-inch, Mid 2015), 2.5 GHz Intel Core i7, Intel Iris Pro Graphics
AMD Radeon R9 M370X with 2GB of GDDR5 memory and automatic graphics switching.

This is the Macbook Air (Macbook air 5,1) that the packaged app crashes on with the attached log.

The packaged app also crashes on Macbook Pro mid-2011

link text

The packaged app is going to crash on the Macbook Pro mid-2011 because it is running HD Graphics 3000 with open GL 3.3, which is not compatible with UE4. Please send the crash log from the Macbook Air which is running HD Graphics 4000 with Open GL 4.1, which is compatible. Also, does the packaged app run on the Pro Retina 15 inch that it was developed on?

I’d gotten the same problem on Version 4.16.3-3561208+++UE4+Release-4.16. I installed to case sensitive volume on my iMac.

Then I created a optional volume with IGNORE CASE and install UnrealEditor to that.

Finally I got it !! :slight_smile:

I have an iMac (Retina 5k, 27-inch, Late 2014), 4 GHz Intel Core i7, 32 GB 1600 MHz DDR3, AMD Radeon R9 M295X 4096 MB.

I’ve never been able to open the editor. It always crashes on startup with the following error:


link text

My filesystem is not case sensitive.

Any ideas?

Hi! I thinkI have several problem. The program hung and I closed it, now I can’t enter this level

LoginId:fa5b6b149e44051d1194cf88f96990cb
EpicAccountId:4cade0287c054088994397541256bab1

Caught signal

FLevelEditorActionCallbacks::Build_CanExecute() Address = 0x1286b5f34 (filename not found) [in UnrealEditor-LevelEditor.dylib]
FSlateMacMenu::IsMenuItemEnabled(TSharedRef<FMenuEntryBlock const, (ESPMode)1> const&) Address = 0x10917ccc0 (filename not found) [in UnrealEditor-Slate.dylib]
FSlateMacMenu::UpdateCachedState() Address = 0x10917bb28 (filename not found) [in UnrealEditor-Slate.dylib]
FMacWindow::WaitForFullScreenTransition() Address = 0x1031bb66c (filename not found) [in UnrealEditor-ApplicationCore.dylib]
FMacWindow::ApplySizeAndModeChanges(int, int, int, int, EWindowMode::Type) Address = 0x1031b9668 (filename not found) [in UnrealEditor-ApplicationCore.dylib]
SWindow::ReshapeWindow(UE::Slate::FDeprecateVector2DParameter, UE::Slate::FDeprecateVector2DParameter) Address = 0x109f09924 (filename not found) [in UnrealEditor-SlateCore.dylib]
SWindow::ShowWindow() Address = 0x109f0c5f4 (filename not found) [in UnrealEditor-SlateCore.dylib]
FSlateApplication::AddWindowAsNativeChild(TSharedRef<SWindow, (ESPMode)1>, TSharedRef<SWindow, (ESPMode)1>, bool) Address = 0x108fe9ff8 (filename not found) [in UnrealEditor-Slate.dylib]
FSlateApplication::AddModalWindow(TSharedRef<SWindow, (ESPMode)1>, TSharedPtr<SWidget const, (ESPMode)1>, bool) Address = 0x108fffac8 (filename not found) [in UnrealEditor-Slate.dylib]
UEditorEngine::EditorAddModalWindow(TSharedRef<SWindow, (ESPMode)1>) const Address = 0x1121dfb5c (filename not found) [in UnrealEditor-UnrealEd.dylib]
OpenMessageDialog_Internal(EAppMsgType::Type, EAppReturnType::Type, FText const&, FText const&) Address = 0x111fb0d80 (filename not found) [in UnrealEditor-UnrealEd.dylib]
FMessageDialog::Open(EAppMsgType::Type, EAppReturnType::Type, FText const&, FText const*) Address = 0x10648e3d0 (filename not found) [in UnrealEditor-Core.dylib]
UEditorEngine::Map_Load(char16_t const*, FOutputDevice&) Address = 0x112261368 (filename not found) [in UnrealEditor-UnrealEd.dylib]
UEditorEngine::HandleMapCommand(char16_t const*, FOutputDevice&, UWorld*) Address = 0x11227f378 (filename not found) [in UnrealEditor-UnrealEd.dylib]
UEditorEngine::Exec_Editor(UWorld*, char16_t const*, FOutputDevice&) Address = 0x11227b5b4 (filename not found) [in UnrealEditor-UnrealEd.dylib]
FExec::Exec(UWorld*, char16_t const*, FOutputDevice&) Address = 0x106473678 (filename not found) [in UnrealEditor-Core.dylib]
UEngine::Exec(UWorld*, char16_t const*, FOutputDevice&) Address = 0x1193cafc8 (filename not found) [in UnrealEditor-Engine.dylib]
UUnrealEdEngine::Exec(UWorld*, char16_t const*, FOutputDevice&) Address = 0x112ff6a44 (filename not found) [in UnrealEditor-UnrealEd.dylib]
FEditorFileUtils::LoadMap(FString const&, bool, bool) Address = 0x11272e7e4 (filename not found) [in UnrealEditor-UnrealEd.dylib]
FLevelEditorActionCallbacks::OpenRecentFile(int) Address = 0x1286b5a4c (filename not found) [in UnrealEditor-LevelEditor.dylib]
TBaseStaticDelegateInstance<void (), FDefaultDelegateUserPolicy, int>::ExecuteIfSafe() const Address = 0x128736850 (filename not found) [in UnrealEditor-LevelEditor.dylib]
FUICommandList::ExecuteAction(TSharedRef<FUICommandInfo const, (ESPMode)1>) const Address = 0x10909d9d0 (filename not found) [in UnrealEditor-Slate.dylib]
invocation function for block in FSlateMacMenu::ExecuteMenuItemAction(TSharedRef<FMenuEntryBlock const, (ESPMode)1> const&) Address = 0x10917d3d4 (filename not found) [in UnrealEditor-Slate.dylib]
FCocoaRunLoopSource::Process(__CFString const*) Address = 0x106395174 (filename not found) [in UnrealEditor-Core.dylib]
-[FCocoaRunLoopSourceInfo perform] Address = 0x106394e7c (filename not found) [in UnrealEditor-Core.dylib]
Unknown() Address = 0x195266710 (filename not found) [in CoreFoundation]
Unknown() Address = 0x1952666a4 (filename not found) [in CoreFoundation]
Unknown() Address = 0x195266414 (filename not found) [in CoreFoundation]
Unknown() Address = 0x19526501c (filename not found) [in CoreFoundation]
Unknown() Address = 0x19526458c (filename not found) [in CoreFoundation]
ProcessGameThreadEvents() Address = 0x106395a44 (filename not found) [in UnrealEditor-Core.dylib]
FMacPlatformApplicationMisc::PumpMessages(bool) Address = 0x1031a3cdc (filename not found) [in UnrealEditor-ApplicationCore.dylib]
FEngineLoop::Tick() Address = 0x10292b5ac (filename not found) [in UnrealEditor]
GuardedMain(char16_t const*) Address = 0x102938b10 (filename not found) [in UnrealEditor]
-[UEAppDelegate runGameThread:] Address = 0x102953cd0 (filename not found) [in UnrealEditor]
-[FCocoaGameThread main] Address = 0x1063953d8 (filename not found) [in UnrealEditor-Core.dylib]
Unknown() Address = 0x1961d663c (filename not found) [in Foundation]
Unknown() Address = 0x195187fa8 (filename not found) [in libsystem_pthread.dylib]
Unknown() Address = 0x195182da0 (filename not found) [in libsystem_pthread.dylib]

Hello. I have the same problem and my file system is not case sensitive. I’ve tried it with UE 4 and UE 5. Any insights would be greatly appreciated!

Here are my specs:
Macbook 2018 15 inch
2.2 Ghz Intel Core I7
Radeon Pro 555x 4GB Intel UHD Graphics 630
OS 13.5.2
16 gb memory 2400mhz ddr4

Here is the call stack:

Assertion failed: bGotReturnCode [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Mac/MacPlatformProcess.cpp] [Line: 281]

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x107bd92b7 (filename not found) [in UE4Editor-Core.dylib]
FMacErrorOutputDevice::Serialize(char16_t const*, ELogVerbosity::Type, FName const&) Address = 0x107d92e53 (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::LogfImpl(char16_t const*, …) Address = 0x107eac689 (filename not found) [in UE4Editor-Core.dylib]
AssertFailedImplV(char const*, char const*, int, char16_t const*, __va_list_tag*) Address = 0x107e1eb57 (filename not found) [in UE4Editor-Core.dylib]
FDebug::CheckVerifyFailedImpl(char const*, char const*, int, char16_t const*, …) Address = 0x107e1e9e4 (filename not found) [in UE4Editor-Core.dylib]
FMacPlatformProcess::ExecProcess(char16_t const*, char16_t const*, int*, FString*, FString*, char16_t const*) Address = 0x107da3617 (filename not found) [in UE4Editor-Core.dylib]
FMetalDynamicRHI::FMetalDynamicRHI(ERHIFeatureLevel::Type) Address = 0x14053234f (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalDynamicRHIModule::CreateRHI(ERHIFeatureLevel::Type) Address = 0x1404a24f9 (filename not found) [in UE4Editor-MetalRHI.dylib]
PlatformCreateDynamicRHI() Address = 0x106b0cd94 (filename not found) [in UE4Editor-RHI.dylib]
RHIInit(bool) Address = 0x106b0e742 (filename not found) [in UE4Editor-RHI.dylib]
FEngineLoop::PreInitPreStartupScreen(char16_t const*) Address = 0x1062a73d1 (filename not found) [in UE4Editor]
GuardedMain(char16_t const*) Address = 0x10629d66d (filename not found) [in UE4Editor]
-[UE4AppDelegate runGameThread:] Address = 0x1062bc413 (filename not found) [in UE4Editor]
-[FCocoaGameThread main] Address = 0x107d91fc1 (filename not found) [in UE4Editor-Core.dylib]
Unknown() Address = 0x7ff819164603 (filename not found) [in Foundation]
_pthread_start Address = 0x7ff8182051d3 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7ff818200bd3 (filename not found) [in libsystem_pthread.dylib]

1 Like