signal SIGABRT when loading a .sks (Swift 5.5)

I'm trying to make my GameOverScene load when I supposedly "die" but all i get in the editor is signal SIGABRT. Here is some code for it.

if self.livesArray.count == 0 { let gameOver = SKScene(fileNamed: "GameOverScene") as! GameOverScene //This line causes SIGABRT gameOver.score = self.score self.view?.presentScene(gameOver)}

Please can someone help me? Also i dont know where to find the debugger :P

Answered by CheeryCode in 803021022

hello?

Accepted Answer

hello?

signal SIGABRT when loading a .sks (Swift 5.5)
 
 
Q