There was an error while running this playground

I am using SceneKit and ARKit for my project, and when I added a certain number of SCNode (about 8) to rootNode, this error will occur. I stepped through my code and found no error.


So I have some torus shapes, when I added the 7th torus, this error will occur, however, if I delete the 6th torus then add the 7th, (the total number of torus is still 6), the error won't occur, which means theres nothing wrong with my 7th torus at all.


Could this be a memory issue? I also tried my project on Xcode project(not playground) and found no issue what so ever. Maybe a bug for playgrounds?

Replies

I have the exact same issue as yours. Can u tell me how you fix it?