Frame Rate Drop SpriteKit

In testing game I'm working on i get full 60fps when I set the game view controller as the initial controller to run. However when ever I run the game from the Main Menu View Controller and Segue into the actual game view i realize the frame rate drops and remains at 30-40 fps.



Can anyone explain what might be the possible reason for this?


Is it that the previous view controller is still held in memory?

I've been looking at a similar bug in a project of mine for a few months now, each time hoping it gets fixed in the next release. I can segue in the SKScene from a TableView about 5 times before the app starts seriously freezing up (it's not a complicated scene either ~16 SKSpriteNodes, no physics, just a simple tile game).


Some amateur tooling around in Instruments shows several PKPhysicsWorld objects and many more Metal objects that are still live in memory?!


Can You please let me know if you figured out what was the issu, and if yes, please tell me how you fixed it?


Thank You!

Frame Rate Drop SpriteKit
 
 
Q