Mac UE5: Window resize in shipping build freezes game

dysplaced
Mon, 15 Jan 2024 21:13:16 +0000
Platform & Builds

Hi, I am currently porting my UE 4.27 game to UE 5.2. I have most issues worked out, but I stumbled on something new when building a shipping version for Mac: when the game window is resized, when switching from fullscreen to windowed, or when the resolution is changed, the game freezes. The freeze can last for several seconds or even longer, effectively crashing the game.

Trying to isolate the problem, I have determined:

The problem only occurs on Mac

It only happens in Shipping builds, packaged development builds are fine

It happens in 5.2 (launcher and source builds) and 5.3, but not in 4.27

It happens on M1, M3, and Intel MacBooks

The severity depends on the complexity of the scene. If I have only a single static mesh, the freeze is not noticeable. But with just a few dozen simple meshes, it can already take several seconds.

I can easily reproduce the issue in a new project: an empty proudct is too simple to notice the delay, but a shipping build of the “Archvis” sample project takes more than five seconds to resize when pressing Option-Enter, even on an M3.

Does everyone run into the same problem, and is there a known workaround?

10 posts - 5 participants