I have my project packaged and running well on an Apple M1 Max Macbook Pro. As soon as I connect my Airpod Pros to the Mac the UE game crashes/exits. I packaged the game using 5.2 Preview2 - haven’t tested on previous versions of the engine so not sure if that is the issue.
Anyone else come across this issue / have a solution?
I have managed to fix this issue by using the ANSI memory allocator (you can set the environment variable UE4_FORCE_MALLOC_ANSI to 1). I guess there is a bug with the memory allocator UE5 uses on macOS.
you can set the environment variable UE4_FORCE_MALLOC_ANSI to 1
Could you clarify how you did this? Is it possible to use this env var when launching games that are already packaged and distributed (on the Epic Games Launcher for example)?