Just me, or SpriteKit in GMs terribly broken?

I've updated to ElCap GM, XCode 7GM, and iOS 9GM and a project I'm working on seems to be broken at every turn.


  • Atlases don't work properly
  • Atlasses in Asset Catalogs don't work properly
  • still getting PKPhysics* types in methods expecting SKPhysics* types
  • the Actions editor is buggy as **** and doesn't properly handle image references
  • sizing of physics bodies based off of textures seems to not work right...


I've filed bugs where possible (way back in early betas), some of these issues are intermittent or difficult to track down... but it certainly doesn't seem to me that SpriteKit is anywhere near ready for release. Am I doing something just fundamentally wrong?


At this point, my project is so full of kludges to avoid crashing left and right, I don't know if I'll every be able to release it 😠

Thanks for filing the bug for this, pavelgubarev.

Lost a month of productivity because of this with no end in sight. And NO Apple I'm not going to make example scene after example scene documenting problems. IT'S NOT MY JOB! Were the engineers not aware of these basic issues when they released the framework? Shouldn't they have tons of unit tests to make sure everything works fine? Apple looks incompentent as a result of this. Or worse if they knowingly released a borked framework and let us all suffer.


Where is that new emoji....

Agreed. I went to the trouble of submitting sample programs, and the engineer assigned to my case just keeps asking me for crash logs for out of memory crashes on my iPad.. It's like the problem is right in front of their eyes and they're staring at their feet. It's out of memory because they've f*cked up Sprite Kit and have done something to tripple/quadruple/??? the CPU/GPU load when handling sprites. I don't know how else to explain in plain terms that their engineers only need to add a few effing spaceships to their own stupid template project and the frame rate plummets. Who is in charge there?! Is there even anyone there? Are they not reading these forums?? Or looking at the bugs we've submitted? Am at a loss what to do now...

Well, I can assure you they read the forum because they've deleted some of my posts.😉


Aside from talking people out of using SpriteKit for new projects I don't know what to do either...

No idea too. Except writing a desperate letter to Tim Cook.😐

Yeah, I can vouch for this. I've had an entire thread deleted, amongst other individual posts.

Hi all,


Thank you for your patience. Many of these issues have been fixed in iOS 9.2 Beta 1 and Xcode 7.2 Beta 1, which are now available via the Developer Center. Please let us know if any of these issues persist, by filing a bug report or updating the original with a description.


Thank you.

Hi gabhel,


Thank you for your patience. This issue has been fixed in Xcode 7.2 Beta 1, but I would also recommend updating to iOS 9.2 Beta 1, which are now available via the Developer Center. If any issues persist, please update the original bug (22416124) with a description.


Thank you.

Hi four5six.pixel,


iOS 9.2 Beta 1 and Xcode 7.2 Beta 1 are now available via the Developer Center. Can you please verify these issues?


Additionally, it'd be great to get more information on the texture squishing/stretching you're seeing. Is this issue still present in iOS 9.2 Beta 1?


Thanks.

Hi ashort,


Thank you for filing the bug. Asset catalogs offer many benefits such as app thinning, but if you concerned about performance most, we currently recommend using a texture atlas outside of an asset catalog.


Thanks.

Well, initial tests suggest that many of my issues at least, appear to have been resolved. Mainly the use of SKCropNode no longer tanks the frame rate, and the node/draw count has returned to a normal level, with an acceptable frame rate.


Thank you for fixing the problems with Sprite Kit. I, and I'm sure many other developers, appreciate this.


For me, since the release of iOS9, pretty much all of my time has involved re-engineering large chunks of code, in order to get my game to run on older devices, and to achieve an acceptable frame rate on newer ones. If I now run my original code with 9.2, the frame rate has returned to ~60, and it seems, we are back to iOS8 performace levels. Weeks of work that could have been focussed elsewhere.


Now I don't consider this work entirely wasted, as some of it is optimisations that I will keep. However, not knowing whether or not Apple was investigating, fixing, or even aware of these issues has meant an arduous and stressful process, trying to accomodate for a bad update. I have been communicating with an Apple tech support engineer, however he has apparenlty been as in the dark over the Sprite Kit team's progress as I am.


At the very least, it would have been helpful if Apple could have written on these forums, to offer some level of reassurance that this issue was known and being looked in to. Instead there is generally outcry from devs (myself included), with the odd request from Apple to submit a bug. I, and many others, have submitted bugs, example programs and detailed reports, with little to no feedback on their progress. I began to adopt the general feeling that Apple doesn't care.


I am grateful that this issue seems to finally have been resolved, however I would just like to say that a little more communication from Apple would have gone a long way. And possibly saved many stressful, late night coding sessions. I have felt extremely let down by Apple over the last couple of months, and being an independent developer, this has affected me personally and professionally.


So just to be clear, thank you for fixing Sprite Kit, but next time, a little more transparency please. It would go a long way to supporting devs, some of whose entire livelihoods rest on your whims. And in my case, my mental state too 😐

Dear Apple,


By silently fixing some of the issues addressed above, and not listing how, what, where, or why of those fixes (nor the extent of awareness and fixed) you've confirmed everyone's worst fear... that Apple will never communicate, even when they have good news.


So the blackhole is endless.


We know from the pattern we can expect it to widen by an uncertain amount at each full new iOS release, constrict slightly and vacuum less during point upgrades, but never go away.


A perpetual blackhole sucking in all the unwary via overt, confident proclaimations of impending world dominance at each WWDC. Each new Kit is great, a new and all conquering ease of use combined with wondrous productivity and amazing performance.


How many developers will believe you next year?

Well said. The lack of official communication from Apple shows their contempt for small developers. We all make mistakes, this much I can forgive. But failing to acknowledge and own one's mistakes, especially when they affect so many other people, is unforgivable and the main reason I will no longer rely on Apple frameworks for future projects.


It has also earned Apple negative word-of-mouth PR for SpriteKit since I am making sure friends and co-workers are aware of the problems I've had. This is not a framework, or working process I would recommend to anyone.

This is exactly my story too. The whole day before yesterday was devoted to coding. And with 9.2 beta it turned out everything was quite okay with the old code.


Not cool.

tcasella:


I just updated to 9.2 b1 & 7.2 beta (7C46l). I'm now seeing the texture "squishing" on my project where I wasn't before. It's only affecting a few sprites: my Player Character sprite (consistently), and some sprites like doors that have texture-related animations. Not sure if it's related or not, but I am also getting this error message coincident with the texture squishing:


CUICatalog: Invalid Request: requesting subtype without specifying idiom


Sigh.... things were just starting to look good for me 😟.


Just to note, I'm not doing anything funny with scaling, centerRect, etc, and the SKScene.scaleMode is .ResizeFill


I can also tell exactly what is happening WRT the "squish" effect: The texture in question is a square image, with alpha transparency around the texture. The sprite is sized to match the texture size (in the player char case, 128x128). It appears that the non-alpha area of the texture is being stretched to fit within that 128x128 size.

Just me, or SpriteKit in GMs terribly broken?
 
 
Q