SpriteKit Bug message "ignoreRenderSyncInLayoutSubviews is NO"

This message keep apear in debug window but the app run fine:

"SKView: ignoreRenderSyncInLayoutSubviews is NO. Call _renderSynchronouslyForTime without handler"

Did anyone Know why this message keep apearing, and this is my view controller code where I think the message come from:


override func viewDidLoad() {

super.viewDidLoad()

// Set scene size

var factor = view.frame.size.height / sceneHeight

if view.frame.size.width / factor < sceneWidth {

factor = view.frame.size.width / sceneWidth

}

let sceneSize = CGSize(width: view.frame.size.width / factor, height: view.frame.size.height / factor)

if let skView = self.view as! SKView? {

let gameScene = GameScene(size: sceneSize)

gameScene.scaleMode = .aspectFit

skView.presentScene(gameScene)

skView.ignoresSiblingOrder = true

skView.showsFPS = true

skView.showsNodeCount = true

skView.showsDrawCount = true

skView.showsQuadCount = true

skView.showsFields = true

skView.showsPhysics = true

}

}

Replies

Hello,

I'm also getting the same error as you, did you resolve this issue. And if so, can you post your solution.

Thanks!

See this post:


https://forums.developer.apple.com/message/355689#355689

I'm getting the same issue and the forum post above says page not found. Has anyone else seen this issue and resolved it?