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)}
Further information: the error appears in a response to changing the 'scale' which is how I magnify the field of view. In response to a key stroke 'Command" plus '+' the program changes the orthographic scale. The 'scale' parameter decreases until a [consistently] small value - then the problem appears.
The error appears also in the perspective view, with successive narrowing of the field of view occurring successfully until a small value has been reached. 2022-07-22 11:06:26.417539+1000 ######[14050:1284516] camera.fieldOfView 3.0003E+00
In orthographic view the problem begins once the scale is less than a small value, and always after the eighth time the scale has been decreased: ... 8.0000E-01 ... 6.4000E-01 ... 5.1200E-01 ... 4.0960E-01 ... 3.2768E-01 ... 2.6214E-01 2022-07-22 11:15:58.819794+1000 Pplates[14114:1294072] camera.orthographicScale = scale 2.0972E-01 2022-07-22 11:16:12.877800+1000 Pplates[14114:1294072] camera.orthographicScale = scale 1.6777E-01