Hi Folks
This error appeared when I switched to using a M1 ultra MacStudio. It therefore appears to be an issue with unified memory - since the existing code involvesI 'blitting' between CPU and GPU. I need only update the MTLBuffer when needed (which is not very often). This does not appear to be a problem caused in that way.
There are many nodes in the scene graph, but the problem does not appear until I zoom down into the point cloud [when you can see relatively few 'spheres' that represent the point cloud. So it does not appear to be a problem related to too many nodes. It would help of course if I could localise where and when the problem began to appear, for the code works normally until this happens, but then of course, it loops and so I must terminate the process, and start again. I would appreciate any help on offer.
The error loop repeats these messages over and over again until I cause the program to quit [using Xcode 13.4.1].
2022-07-22 09:44:02.882746+1000 #####[13703:1234861] Execution of the command buffer was aborted due to an error during execution. Too much geometry to support memoryless render pass attachments. (0000000d:kIOGPUCommandBufferCallbackErrorOutOfMemoryForParameterBuffer)
2022-07-22 09:44:02.882818+1000 #####[13703:1234861] Execution of the command buffer was aborted due to an error during execution. Too much geometry to support memoryless render pass attachments. (0000000d:kIOGPUCommandBufferCallbackErrorOutOfMemoryForParameterBuffer)
2022-07-22 09:44:02.882875+1000 #####[13703:1234861] [SceneKit] Error: Main command buffer execution failed with status 5, error: Error Domain=MTLCommandBufferErrorDomain Code=10 "Too much geometry to support memoryless render pass attachments. (0000000d:kIOGPUCommandBufferCallbackErrorOutOfMemoryForParameterBuffer)" UserInfo={NSLocalizedDescription=Too much geometry to support memoryless render pass attachments. (0000000d:kIOGPUCommandBufferCallbackErrorOutOfMemoryForParameterBuffer)}