I'm developing Metal app for a while.
This time I decided to make use of argument buffers to handle complex scenes.
I managed to get things working but once I start GPU frame capture, the replayer terminates unexpectedly.
The error code was 512.
I can use GPU frame capture with my none Argument buffers codes,
but switching to codes using Argument buffers it always fails.
To see what the cause was, I used Console App and found the error description showing,
-[AGXA13FamilyIndirectArgumentBufferLayout uniqueIdentifierForRenderPipelineAtIndex:inIndirectArgumentBuffer:atOffset:]: unrecognized selector sent to instance
As you can see, the error is somewhat related to A13 (my device is iPhone11 Pro).
How can I work around of this error and debug with my Argument buffers codes?