SceneKit - Adding a new SCNNode to the scene causes severe lag
looks like your are adding a node with an SCNShape
or SCNText
attached to it and these kinds of geometries are expensive to create (you have to discretize and triangulate the Bézier curve, and eventually have to compute and offset curve for the chamfer).
You can try to preload the following methods from SCNSceneRenderer
: -prepareObject:shouldAbortBlock:
, -prepareObjects:withCompletionHandler: