SpriteKit sprite node lags when added to the scene

Hello! I'm using SpriteKit for my application, and when I add an SKSpriteNode into the scene it lags and the FPS drops from 60 to 45. To make sure this isn't a code issue, I tested this in an app instead of a playground and it worked fine. Will I get penalized for poor performance or is there a way to solve this issue?


Thank you 🙂

I'm having the very same issue!

SpriteKit sprite node lags when added to the scene
 
 
Q