11 Replies
      Latest reply: Dec 8, 2015 9:42 PM by Zenjamin RSS
      Dillonion Level 1 Level 1 (0 points)

        Made a custom action in sks editor. Named it and tried to run it programitically. Crashes with the following error:

         

        *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[__NSCFArray objectAtIndex:]: index (2032684848 (or possibly larger)) beyond bounds (264)'

         

        Which is very odd... Here is the code:

         

        SKSpriteNode *testSprite = [self childNodeWithName:@"testSprite"];
        [testSprite runAction:[SKAction actionNamed:@"testAction"]];
        

         

        Anyone have a work around? This is pretty detrimental to our development.