Crash in Metal GPU profiler

Ever since updating our automated tests to use Unreal 5.6, we have started getting crashes when executing a Mac game with the attached callstack. I have also attached a full log from a crashing run.

Our tests crash randomly, so it is hard to give precise repro steps. We unfortunately have to use the Launcher version of the engine for our tests, and I failed to find a way of disabling GPU profiling as a workaround.

Is there anything we can do on our end to either fix or workaround the crash?

Hello, unfortunately this is one of our top crashes and it’s unclear yet what causes the problem. I don’t think you can disable the code that collects breadcrumbs for profiling without re-compiling the engine. You can try setting r.GPUCrashDebugging.Breadcrumbs=0 or running with -nogpucrashdebugging, but I don’t think that will disable the code that’s crashing here. For automated testing do you need to render at all? Can you use -nullrhi?

Hi,

I ran for a week with -nullrhi, and it seems to workaround the problem for now.

Thanks!