UE Editor 4.17 Mac consistent crash on launch

Unreal 4.17 keeps crushing on project load displaying the following error log:

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x108cafc9b (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x108ec725f (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x108fad94d (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x108f0081e (filename not found) [in UE4Editor-Core.dylib]
FMetalRenderPipelineDesc::CreatePipelineStateForBoundShaderState(FMetalBoundShaderState*, FMetalHashedVertexDescriptor const&) const Address = 0x13d1f851a (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalBoundShaderState::PrepareToDraw(FMetalHashedVertexDescriptor const&, FMetalRenderPipelineDesc const&) Address = 0x13d1c3c92 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalContext::PrepareToDraw(unsigned int, EMetalIndexType) Address = 0x13d1bda28 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalRHICommandContext::RHIEndDrawPrimitiveUP() Address = 0x13d1a3408 (filename not found) [in UE4Editor-MetalRHI.dylib]
DrawPrimitiveUP(FRHICommandList&, unsigned int, unsigned int, void const*, unsigned int) Address = 0x11a260db9 (filename not found) [in UE4Editor-Renderer.dylib]
FProjectedShadowInfo::RenderProjection(FRHICommandListImmediate&, int, FViewInfo const*, bool, bool) const Address = 0x11a9bcef7 (filename not found) [in UE4Editor-Renderer.dylib]
FSceneRenderer::RenderShadowProjections(FRHICommandListImmediate&, FLightSceneInfo const*, IPooledRenderTarget*, bool, bool) Address = 0x11a9c0cf4 (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::RenderShadowProjections(FRHICommandListImmediate&, FLightSceneInfo const*, IPooledRenderTarget*, bool&) Address = 0x11a9c1396 (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::RenderLights(FRHICommandListImmediate&) Address = 0x11a3bf6c3 (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&) Address = 0x11a26ca11 (filename not found) [in UE4Editor-Renderer.dylib]
FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand::DoTask(ENamedThreads::Type, TRefCountPtr const&) Address = 0x11a8f73d0 (filename not found) [in UE4Editor-Renderer.dylib]
TGraphTask::ExecuteTask(TArray&, ENamedThreads::Type) Address = 0x11a95b760 (filename not found) [in UE4Editor-Renderer.dylib]
FNamedTaskThread::ProcessTasksNamedThread(int, bool) Address = 0x108cd31cf (filename not found) [in UE4Editor-Core.dylib]
FNamedTaskThread::ProcessTasksUntilQuit(int) Address = 0x108cd21d8 (filename not found) [in UE4Editor-Core.dylib]
FTaskGraphImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) Address = 0x108ccdf61 (filename not found) [in UE4Editor-Core.dylib]
RenderingThreadMain(FEvent*) Address = 0x10b01ccb1 (filename not found) [in UE4Editor-RenderCore.dylib]
FRenderingThread::Run() Address = 0x10b0325d7 (filename not found) [in UE4Editor-RenderCore.dylib]
FRunnableThreadPThread::Run() Address = 0x108d51c90 (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0x108cf3b80 (filename not found) [in UE4Editor-Core.dylib]
_pthread_body Address = 0x7fffeb7ce93b (filename not found) [in libsystem_pthread.dylib]
_pthread_body Address = 0x7fffeb7ce887 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fffeb7ce08d (filename not found) [in libsystem_pthread.dylib]

System Info:
macOS Sierra 10.12.6
nVidia CUDA Driver Version: 8.0.90 - GPU Driver Version: 10.17.5 355.10.05.45f01

It crushes trying to load a new empty project created with 4.17 or any other project.

Help would be appreciated thank you.

Thank you for your answer.

Ok I tried the workaround. I’m guessing you are referring to the ConsoleVariables.ini that is located in User>Unreal Engine>Engine>Config folder. Unfortunately I am still having the problem.

I run 4.17 up to the point where it asks you which project to you want to open, since I only have projects prior to 4.17, it asks to create a copy etc etc. On the other hand I can create a new project. No matter what I’ve tried (with dektop quality), no matter which project I chose it crashes at about 91% into loading.

Please let me know If I edited the wrong ConsoleVariables.ini.

Vangelis “Sutorcen” Angelakis

The ConsoleVariables.ini file that you edited is the correct one. I just wanted to confirm that after uncommenting that line (removing the semi-colon), no existing projects or new projects are successfully opening in the Editor. This may be a silly question, but did you make sure to save the change to the file before trying to open a project in the Editor?

No question is silly. I did ask myself that too. I will run some further test and see if I can get it to work. Maybe a whole system reboot (windows habits) will make it work. I’ll get back to you tomorrow as it’s getting late here. :slight_smile:

Hi Tiefsignal,

What is the callstack for your crash? I just want to make sure you are getting the same crash, and not just one that seems similar.

Hi Sutorcen,

I was unable to reproduce the crash that you described on a Mac. Is there a specific template that you are using when you create a new 4.17 project? I tried with both a Blank Blueprint project as well as a Basic Code project, and they both opened fine in the Editor.

I do not think that this would cause the issue that you are experiencing, but we are aware of an existing conflict between the Nvidia driver and Metal. Since your Mac has a Nvidia card (mine is using an AMD card), try opening the ConsoleVariables.ini file and remove the semi-colon (:wink: at the beginning of the following line: ;r.Shaders.Optimize=0

This will disable Metal, but may allow you to open the project if that conflict is actually what is causing the crash that you are seeing. If it does resolve the crash, you will be able to continue working on your project at the expense of some rendering efficiency. Once the conflict is resolved, you can replace the semi-colon and regain the benefits of Metal.

If that does not resolve the issue, could you please provide any additional specific information you may have about your repro that may help us to reproduce it here?

I too have this problem.

It’s when creating a new project from the 3rd person template.

Hi Sutorcen,

I was able to run some tests on a MacBook that has an Nvidia card, and I was able to reproduce the crash that you described there, as well as verify that the workaround that I mentioned above does seem to provide a temporary resolution while the conflict between the Nvidia driver and Metal is investigated.

Also crashing on MacBook running an R9 M370X, 12.13 beta 5. Workaround in answers does fix issue

I can also confirm that the workaround works.

Im having the same Problem in the Editor when opening a level while playing.
Im using also an AMD Card, thats why I’m posting this in here.

Hi
The first three times I opened a level it crashed.
After your response I tried it again for the call stack and everything went fine!
Probably your response was magic…

That is somewhat strange. I was able to get the exact same crash that you described on a Mac with an Nvidia card, and making that adjustment to the ConsoleVariables.ini file allowed me to open projects again.

Are you still seeing the same callstack when the crash occurs, now?

I am also experiencing the same problem, but I’m really new to unreal (haven’t even made a project yet) so I don’t know where to go to edit ConsoleVariables.ini file. Where would I be able to edit it?

So I tried various things. I cleaned up my Mac freeing up space plus all the maintenance scripts, I restarted the OS, tried to create new projects, tried to run the created projects off an external HDD but nothing. I even reinstalled 4.17. I also confirm that ConsoleVariables.ini is properly edited.

4.17 will just not run, I got up to 96% loading and that’s the highest it got. Let me know if I can provide you with any more information.

Sorry for the delayed answer. Well I got some strange results. 4.17 now sometimes reaches 96% and stays there for hours without crashing and without hanging. When it crashes I get the following :

https://docs.google.com/document/d/1U84htINF4u3ZwolhZrMRmCv8eDVSn-OW3Q4skAEo9Gs/edit?usp=sharing

If you are using windows: Program Files\Unreal Engine\4.X\Engine\Config

If you are using mac: User>Unreal Engine>Engine>Config

Also crashing on MacBPro, wen I opened for firs time, asks me to actualice the Xcode, but any way it crash any time even making a new project.

Any news on this? Still can’t run 4.17.

Also crashing on MacBPro, wen I opened for firs time, asks me to actualice the Xcode, but any way it crash any time even making a new project.