Description

Generated from CrashReporter

Steps to Reproduce

No known steps to reproduce

Per repro steps sent by user through salesforce:

  1. Just try to open or create any new project and it crashes
Callstack
Fatal error: [File:/Users/build/Build/++UE4+Licensee/Sync/Engine/Source/Developer/Apple/MetalShaderFormat/Private/MetalShaderCompiler.cpp] [Line: 716] Failed to extract Metal compiler search directories

UE4Editor-Core!FGenericPlatformMisc::RaiseException(unsigned int) [GenericPlatformMisc.cpp:472]
UE4Editor-Core!FMacErrorOutputDevice::Serialize(char16_t const*, ELogVerbosity::Type, FName const&) [MacErrorOutputDevice.cpp:0]
UE4Editor-Core!FOutputDevice::LogfImpl(char16_t const*, ...) [OutputDevice.cpp:61]
UE4Editor-MetalShaderFormat!auto SingleCompilerSetup(EAppleSDKType)::$_23::operator()<FLogCategoryLogMetalShaderCompiler, char16_t
UE4Editor-MetalShaderFormat!SingleCompilerSetup(EAppleSDKType) [MetalShaderCompiler.cpp:716]
UE4Editor-MetalShaderFormat!BuildMetalShaderOutput(FShaderCompilerOutput&, FShaderCompilerInput const&, FSHAHash const&, unsigned int, char const*, unsigned int, unsigned int, unsigned int, unsigned char, char16_t const*, char16_t const*, EMetalTypeBufferMode, TArray<FShaderCompilerError, TSizedDefaultAllocator<32> >&, FMetalTessellationOutputs const&, unsigned int, unsigned int, unsigned int, unsigned int, TArray<unsigned char, TSizedDefaultAllocator<32> > const&, bool) [MetalShaderCompiler.cpp:1667]
UE4Editor-MetalShaderFormat!FMetalShaderOutputCooker::Build(TArray<unsigned char, TSizedDefaultAllocator<32> >&) [MetalDerivedData.cpp:2498]
UE4Editor-DerivedDataCache!FDerivedDataCache::FBuildAsyncWorker::DoWork() [DerivedDataCache.cpp:230]
UE4Editor-DerivedDataCache!FAsyncTask<FDerivedDataCache::FBuildAsyncWorker>::DoWork() [AsyncWork.h:272]
UE4Editor-DerivedDataCache!FAsyncTask<FDerivedDataCache::FBuildAsyncWorker>::Start(bool, FQueuedThreadPool*) [AsyncWork.h:259]
UE4Editor-DerivedDataCache!FDerivedDataCache::GetSynchronous(FDerivedDataPluginInterface*, TArray<unsigned char, TSizedDefaultAllocator<32> >&, bool*) [DerivedDataCache.cpp:312]
UE4Editor-MetalShaderFormat!CompileShader_Metal(FShaderCompilerInput const&, FShaderCompilerOutput&, FString const&) [MetalShaderCompiler.cpp:2554]
UE4Editor-Engine!FShaderCompileUtilities::ExecuteShaderCompileJob(FShaderCommonCompileJob&) [ShaderCompiler.cpp:1500]
UE4Editor-Engine!FShaderCompileThreadRunnable::CompileDirectlyThroughDll() [ShaderCompiler.cpp:1464]
UE4Editor-Engine!FShaderCompileThreadRunnable::CompilingLoop() [ShaderCompiler.cpp:1582]
UE4Editor-Engine!FShaderCompileThreadRunnableBase::Run() [ShaderCompiler.cpp:1125]
UE4Editor-Core!FRunnableThreadPThread::Run() [PThreadRunnableThread.cpp:25]
UE4Editor-Core!FRunnableThreadPThread::_ThreadProc(void*) [PThreadRunnableThread.h:183]
libc++.1!66e99000  + 2f39109
libc++.1!66e99000  + 2f34b8b

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-92818 in the post.

3
Login to Vote

Fixed
ComponentUE - Platform - Apple
Affects Versions4.254.25.34.26
Target Fix4.26.2
Fix Commit14319555
Release Commit14319555
CreatedMay 6, 2020
ResolvedJan 29, 2021
UpdatedApr 28, 2021
View Jira Issue