[iOS] game crashes when I score in iOS simulator and device

joeaccardi37

  • Posts: 6
[iOS] game crashes when I score in iOS simulator and device

This happened all of a sudden not sure why.
attached is the NSRangeException error  in the phone console


jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697633086234   stencyl.sw.io.write.resource.HXWriter   Finished building for iOS.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697632086233   stencyl.sw.util.StreamGobbler   haxelib repository is now /Applications/Stencylfull32 /plaf/haxe/lib/
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697208086232   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Send Event: score-success
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697208086231   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697208086230   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697208086229   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086228   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086227   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086226   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086225   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086224   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086223   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086222   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086221   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086220   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086219   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086218   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086217   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921697207086216   stencyl.sw.app.filewatcher.ExternalAppLauncher   [iOS] Engine.hx:3860: Region does not exist.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921696816086215   stencyl.sw.util.StreamGobbler   2014-12-18 08:54:56.816 4[23306:70b] Game Center: Score was successfully sent
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921696773086214   stencyl.sw.util.StreamGobbler   2014-12-18 08:54:56.772 4[23306:70b] fixupAdView - Ad is Visible
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921696772086213   stencyl.sw.util.StreamGobbler   2014-12-18 08:54:56.769 4[23306:70b] Developer Set Ad to Visible
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921696770086212   stencyl.sw.util.StreamGobbler   2014-12-18 08:54:56.768 4[23306:70b] fixupAdView - Ad is Visible
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921696769086211   stencyl.sw.util.StreamGobbler   2014-12-18 08:54:56.767 4[23306:70b] Move Ad to Bottom
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1418921696767086210   stencyl.sw.util.StreamGobbler   2014-12-18 08:54:56.766 4[23306:70b] Showing ad...

captaincomic

  • *
  • Posts: 6108
If I decipher it correctly, the error message is saying that there was an attempt to remove an item from an empty array (= list). Maybe that helps narrowing it down?

joeaccardi37

  • Posts: 6
thank you for the quick response.

- I checked any lists I had and couldnt find any that would be an issue unless I missed something.

-It appears that when the player touches the sensor which adds the score to+1 on the counter and then immediately after  it crashes.

still unsure why this occurs, is there anything else it could be?

« Last Edit: December 19, 2014, 07:36:38 pm by joeaccardi37 »

captaincomic

  • *
  • Posts: 6108
Okay, if it happens always in the same situation, maybe we can track it down.
Quote
-It appears that when the player touches the sensor which adds the score to+1 on the counter and then immediately after  it crashes.
Please post a screenshot and a copy of the code preview of the behavior where this is done.