SKSpriteNode + centerRect + alpha leads to crash

Originator:apontious
Number:rdar://18478101 Date Originated:9/27/2014
Status:Closed Resolved:No resolution
Product:iOS SDK Product Version:iOS 7 or iOS 8
Classification:Crash/Hang/Data Loss Reproducible:Always
 
On iOS 7 or 8, on Simulator or device, setting up an SKSpriteNode with a centerRect and xScale/yScale, then setting alpha to zero, leads to crash.

1. Clone https://github.com/apontious/LongLongcat
2. Open project and run it, on iOS 7 or 8, on Simulator or device.

Expected:
Green “long cat” image is stretched to height and width of screen, and fades in over a couple seconds.

Actual:
Crash.

Configuration:
Simulator or iPhone 5 or iPod touch 5th gen.

Version & Build:
iOS 7 or iOS 8.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!