Description

QAGame is crashing when opening the TM-DistanceFields map in editor on Mac

Crashreporter is not showing up for this crash so no link to CR website is available.

Does not occur on Windows.

Steps to Reproduce
  1. Open QAGame
  2. Open TM-DistanceFields map

Result: Crash

Callstack
[2017.07.05-19.18.12:519][607]LogMac: Error: appError called: Assertion failed: Assertion failed: ShaderRef != NULL && *ShaderRef != nullptr [File:Runtime/ShaderCore/Public/Shader.h] [Line: 1448] 
Failed to find shader type FShadowObjectCullPS in Platform SF_METAL_SM5

SIGSEGV: invalid attempt to access memory at address 0x3

[2017.07.05-19.18.12:531][607]LogSlate: Took 0.000103 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/DroidSansMono.ttf' (77K)
[2017.07.05-19.18.12:532][607]LogMac: FGenericPlatformMisc::RaiseException(unsigned int) Address = 0xdb8bf7b  (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0xdda48bf  (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0xde8af2d  (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0xddde01e  (filename not found) [in UE4Editor-Core.dylib]
FShadowObjectCullPS* TShaderMap<FGlobalShaderType>::GetShader<FShadowObjectCullPS>() const Address = 0x1f1979c2 (filename not found) [in UE4Editor-Renderer.dylib]
CullDistanceFieldObjectsForLight(FRHICommandListImmediate&, FViewInfo const&, FLightSceneProxy const*, FMatrix const&, int, FPlane const*, FVector4 const&, float, TUniquePtr<FLightTileIntersectionResources, TDefaultDelete<FLightTileIntersectionResources> >&) Address = 0x1f125516 (filename not found) [in UE4Editor-Renderer.dylib]
FProjectedShadowInfo::BeginRenderRayTracedDistanceFieldProjection(FRHICommandListImmediate&, FViewInfo const&) Address = 0x1f152e83 (filename not found) [in UE4Editor-Renderer.dylib]
FProjectedShadowInfo::RenderRayTracedDistanceFieldProjection(FRHICommandListImmediate&, FViewInfo const&, IPooledRenderTarget*, bool) Address = 0x1f1538f8 (filename not found) [in UE4Editor-Renderer.dylib]
FSceneRenderer::RenderShadowProjections(FRHICommandListImmediate&, FLightSceneInfo const*, IPooledRenderTarget*, bool, bool) Address = 0x1f851753 (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::RenderShadowProjections(FRHICommandListImmediate&, FLightSceneInfo const*, IPooledRenderTarget*, bool&) Address = 0x1f851dc6 (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::RenderLights(FRHICommandListImmediate&) Address = 0x1f250df3 (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&) Address = 0x1f1007c1 (filename not found) [in UE4Editor-Renderer.dylib]
FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) Address = 0x1f787e30 (filename not found) [in UE4Editor-Renderer.dylib]
TGraphTask<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) Address = 0x1f7ec200 (filename not found) [in UE4Editor-Renderer.dylib]
FNamedTaskThread::ProcessTasksNamedThread(int, bool) Address = 0xdbaf90f  (filename not found) [in UE4Editor-Core.dylib]
FNamedTaskThread::ProcessTasksUntilQuit(int) Address = 0xdbae918  (filename not found) [in UE4Editor-Core.dylib]
FTaskGraphImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) Address = 0xdbaa6a1  (filename not found) [in UE4Editor-Core.dylib]
RenderingThreadMain(FEvent*) Address = 0xfef6cb1  (filename not found) [in UE4Editor-RenderCore.dylib]
FRenderingThread::Run() Address = 0xff0c5d7  (filename not found) [in UE4Editor-RenderCore.dylib]
FRunnableThreadPThread::Run() Address = 0xdc2e300  (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0xdbd0340  (filename not found) [in UE4Editor-Core.dylib]
_pthread_body() Address = 0xaaa8993b (filename not found) [in libsystem_pthread.dylib]
_pthread_body() Address = 0xaaa89887 (filename not found) [in libsystem_pthread.dylib]
thread_start() Address = 0xaaa8908d (filename not found) [in libsystem_pthread.dylib]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.17
Target Fix4.17
Fix Commit3523352
Main Commit3555226
Release Commit3523352
CreatedJul 5, 2017
ResolvedJul 5, 2017
UpdatedApr 27, 2018
View Jira Issue