Resizing the game in a standalone window crashes the game

Hey,

I’m learning UE4 with Udemy’s “Unreal Course” and while working on the “BattleTank” section, I’ve faced with this issue:

When I’m trying to resize the game’s window in the editor – everything works great.
But when I’m trying to resize the game window in standalone mode (both when run packaged game or when run in “Standalone mode” from the Editor) – the game crashes.

I’m on macOS, didn’t tried it on Windows.

My specs:

  • macOS (10.12.2)
  • CPU: 2,9 GHz Intel Core i5
  • GPU: NVIDIA GeForce GT750M 1024 MB
  • RAM: 8 GB 1600 MHz DDR3

And here is the crash log (as I understand there is something wrong with graphics and/or Apple’s Metal library):

SEGV_MAPERR at 0x3

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x100fe99cb (filename not found) [in TankBattle]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x10114e2fd (filename not found) [in TankBattle]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x1011eb447 (filename not found) [in TankBattle]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x10118290e (filename not found) [in TankBattle]
ReportMetalCommandBufferFailure(id, wchar_t const*) Address = 0x104c0ebe7 (filename not found) [in TankBattle]
MetalCommandBufferFailureInternal(id) Address = 0x104c6f58c (filename not found) [in TankBattle]
HandleNVIDIAMetalCommandBufferError(id) Address = 0x104c0d745 (filename not found) [in TankBattle]
_doMTLDispatch Address = 0x7fff7b4cefba (filename not found) [in Metal]
-[_MTLCommandBuffer didCompleteWithStartTime:endTime:error:] Address = 0x7fff7b4d0041 (filename not found) [in Metal]
-[MTLIOAccelCommandBuffer didCompleteWithStartTime:endTime:error:] Address = 0x7fff7b49be21 (filename not found) [in Metal]
-[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:] Address = 0x7fff7b4d4156 (filename not found) [in Metal]
_53-[MTLIOAccelCommandQueue submitCommandBuffers:count:]block_invoke.27 Address = 0x7fff7b4b0573 (filename not found) [in Metal]
ioAccelCommandQueueBlockFenceCallback Address = 0x7fff869ef8cc (filename not found) [in IOAccelerator]
IODispatchCalloutFromCFMessage Address = 0x7fff79ccfb78 (filename not found) [in IOKit]
_IODispatchCalloutWithDispatch Address = 0x7fff79ccfbf7 (filename not found) [in IOKit]
dispatch_mig_server Address = 0x7fff8d2a0600 (filename not found) [in libdispatch.dylib]
dispatchclient_callout Address = 0x7fff8d2920b8 (filename not found) [in libdispatch.dylib]
dispatchcontinuation_pop Address = 0x7fff8d2a7b5b (filename not found) [in libdispatch.dylib]
dispatchsource_latch_and_call Address = 0x7fff8d29da6a (filename not found) [in libdispatch.dylib]
dispatchsource_invoke Address = 0x7fff8d2948f6 (filename not found) [in libdispatch.dylib]
dispatchqueue_serial_drain Address = 0x7fff8d2a8920 (filename not found) [in libdispatch.dylib]
dispatchqueue_invoke Address = 0x7fff8d29acd9 (filename not found) [in libdispatch.dylib]
dispatchroot_queue_drain_deferred_item Address = 0x7fff8d2a9391 (filename not found) [in libdispatch.dylib]
dispatchkevent_worker_thread Address = 0x7fff8d2ac1b0 (filename not found) [in libdispatch.dylib]
pthreadwqthread Address = 0x7fff8d4df5eb (filename not found) [in libsystem_pthread.dylib]
start_wqthread Address = 0x7fff8d4df1ed (filename not found) [in libsystem_pthread.dylib]

Hi Norlin,

Can you provide this project for testing or, if not, are you able to reproduce this crash in one of the UE4 template projects? If you are able to share the project, please send a link to you zipped project on Dropbox, Google drive, or similar to me on our .

Thanks,

.

Hi,

Here is the project: [link removed]
Launch MainMenu level in Standalone mode and try to resize the game window.

(Sorry, I didn’t had a time to make a minimal project with the bug, but I guess it’s about UI widget with resizable image; will check later, if it’s required?)

p.s. I can’t repeat the bug by myself right now. Even when I’m trying to do it with the same packaged app (the one which crashed when I’ve posted this issue) – it’s working normally. Not sure what was happened, maybe a glitch in my computer, but I had checked it on 2 different Macs and there was the crash…

Hi UE norlin,

Thank you for submitting a bug report. I have reproduced the issue and logged it as UE-41095 which you can track on the following link: Unreal Engine Issues. Please be aware that since the issue must be reviewed and prioritized by our development staff, it may be a while before it can be addressed.

-.

Thank you!