Description

This is only occurring on Mac and looks like it is Metal related based on the callstack.

I was only able to reproduce this on the Blank template so far. First Person and Third Person templates did not crash while trying to PIE - Standalone Game.

This only occurs with the Standalone Game and Mobile Preview options. Viewport, Simulate, and New Editor Window all work.

Steps to Reproduce

Repro:

  1. Create a new Blueprints project using the Blank template with Starter Content.
  2. PIE - Standalone Game

Result:
Standalone Game window crashes

Expected:
Standalone Game window loads and user can interact within it.

Frequency:
100%

Callstack

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x10c02326b (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x10c1fc7e6 (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x10c279837 (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x10c274fab (filename not found) [in UE4Editor-Core.dylib]
ReportMetalCommandBufferFailure(id<MTLCommandBuffer>, wchar_t const*) Address = 0x13f38a64c (filename not found) [in UE4Editor-MetalRHI.dylib]
MetalCommandBufferFailureInternal(id<MTLCommandBuffer>) Address = 0x13f3d85bc (filename not found) [in UE4Editor-MetalRHI.dylib]
HandleNVIDIAMetalCommandBufferError(id<MTLCommandBuffer>) Address = 0x13f389445 (filename not found) [in UE4Editor-MetalRHI.dylib]
-[_MTLCommandBuffer didComplete:error:] Address = 0x7fff8cd4d5c8 (filename not found) [in Metal]
-[MTLIOAccelCommandBuffer didComplete:error:] Address = 0x7fff8cd25ec1 (filename not found) [in Metal]
-[_MTLCommandQueue commandBufferDidComplete:timestamp:error:] Address = 0x7fff8cd51135 (filename not found) [in Metal]
ioAccelCommandQueueBlockFenceCallback Address = 0x7fff944ab1ee (filename not found) [in IOAccelerator]
IODispatchCalloutFromCFMessage Address = 0x7fff8dd58646 (filename not found) [in IOKit]
_IODispatchCalloutWithDispatch Address = 0x7fff8dd586c5 (filename not found) [in IOKit]
dispatch_mig_server Address = 0x7fff9ae23a4b (filename not found) [in libdispatch.dylib]
_dispatch_client_callout Address = 0x7fff9ae0f40b (filename not found) [in libdispatch.dylib]
_dispatch_source_latch_and_call Address = 0x7fff9ae1f675 (filename not found) [in libdispatch.dylib]
_dispatch_source_invoke Address = 0x7fff9ae13a83 (filename not found) [in libdispatch.dylib]
_dispatch_queue_drain Address = 0x7fff9ae14200 (filename not found) [in libdispatch.dylib]
_dispatch_queue_invoke Address = 0x7fff9ae1a707 (filename not found) [in libdispatch.dylib]
_dispatch_root_queue_drain Address = 0x7fff9ae12d53 (filename not found) [in libdispatch.dylib]
_dispatch_worker_thread3 Address = 0x7fff9ae12b00 (filename not found) [in libdispatch.dylib]
_pthread_wqthread Address = 0x7fff942504de (filename not found) [in libsystem_pthread.dylib]
start_wqthread Address = 0x7fff9424e341 (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-34721 in the post.

1
Login to Vote

Fixed
ComponentUE - Platform - Apple
Affects Versions4.13
Target Fix4.13
Fix Commit3092346
Main Commit3109685
Release Commit3092346
CreatedAug 15, 2016
ResolvedAug 17, 2016
UpdatedSep 16, 2019