What is SKSpinLockSync in Sprite Kit and how do I fix it

前端 未结 7 926
忘了有多久
忘了有多久 2021-01-05 10:43

I am receiving a bug report with the following stack trace and I have no idea what the problem is. I\'ve seen suggestions that this could be caused by having an emitter\'s

7条回答
  •  佛祖请我去吃肉
    2021-01-05 11:30

    I had this exact problem (same crash log stack) with particles in Sprite Kit. I tried many things over many hours -- and finally figured it out, sorta: it seemed to be because the source texture was in a Texture Atlas folder, and it didn't have the corresponding @2x image. Try moving the texture out of the texture atlas and/or adding an @2x version of the image.

提交回复
热议问题