I'm trying to use SpriteKit in a Mac app, but having a problem loading the textures from PNGs in the bundle with SKTexture(imageNamed:). Two of the textures load correctly; they are sized 384x256 and 256x128. But the third, which is sized 832x512, gets scaled down to 199.68x122.88. Why is it doing that?
SKTexture(imageNamed:) seems broken
I've found out it was because the PNG had a very high ppi setting of almost 300, instead of the usual 72. Bundle.image(forResource:) has the same bug. Yes, this is a bug. Even if you consider that ppi applies to the screen as well as to print, the scaling should be deferred to render time rather than as soon as it's loaded (throwing away over 94% of the detail!).