SceneKit Error

While creating a custom geometry I got an unusual repreating error:


[SceneKit] Error: C3DProgramHashCodeStoreRegisterProgramForRendererElement - index out of capacity (8192 > 8192)

2018-08-15 01:26:12.104194+0300 Surface Reconstruction[641:40335] [SceneKit] Error: C3DProgramHashCodeStoreRegisterProgramForRendererElement - index out of capacity (8193 > 8192)

2018-08-15 01:26:12.104203+0300 Surface Reconstruction[641:40335] [SceneKit] Error: C3DProgramHashCodeStoreRegisterProgramForRendererElement - index out of capacity (8194 > 8192)

and so on ...


That's pretty strange because I've also printed the real number of polygons and it's not 8192:

Mesh number of polygons: 8099


Could you please help me to find out what do those errors mean and how to handle the situation?

Replies

I am running into the same issue. It started happening after updating my phone to iOS 12. The app which worked perfectly before, now renders part of the element I am displaying in purple and crashes frequently. Any update on what is causing this and how to fix it?

I am running into the same problem by loading an asset to scene from a local url. What solved this issue?