I'm trying to run the following Swift/SpriteKit code in the Swift Playgrounds iPad app. But when I run it, I'm encountering the error Unexpectedly found nil while unwrapping an Optional value
. What's causing that error and how can I fix it?
Asked
Active
Viewed 46 times
0
-
3Possible duplicate of [What does "fatal error: unexpectedly found nil while unwrapping an Optional value" mean?](http://stackoverflow.com/questions/32170456/what-does-fatal-error-unexpectedly-found-nil-while-unwrapping-an-optional-valu) – rmaddy Mar 14 '17 at 23:28
-
Any help on this?? this is a playground @rmaddy – Aryan Mar 14 '17 at 23:35
-
Where is your GameScene? – chengsam Mar 15 '17 at 08:39