title: SceneKit - Adding a new SCNNode to the scene causes severe lag
body: <p>I found out that adding SCNNodes (with SCNGeometry) to the scene causes a severe lag spike.</p>
  
  <p>According to the Time Profiler it has to generate the geometry (at least the functions/methods are called like that). It does that at the time when the node is added to the scene, not when the node is created. Hence, creating a pool with SCNNodes will not work.</p>
  
  <p>Is there a way to get rid of this lag? I'd like to be able to add nodes to the scene without any FPS drop.</p>
  
  <p>The only idea I have so far is adding everything to the scene already and then hiding / un-hiding it, though this is not really a clean solution.</p>
  
  <p>Here's a shot from Time Profiler:</p>
  
  <p><img src="https://i.stack.imgur.com/EAeZU.png" alt="enter image description here"></p>