SCNParticleSystem subclass with custom property causes crash!
| Originator: | xybernic | ||
| Number: | rdar://24427406 | Date Originated: | 31-Jan-2016 02:15 AM |
| Status: | Fixed | Resolved: | Yes |
| Product: | OS X SDK | Product Version: | Mac OS X 10.11.3 (15D21) |
| Classification: | Crash | Reproducible: | Always |
If I subclass `SCNParticleSystem` and add a property to the custom subclass, and assign a value to the property. `SceneKit` will crash on Mac. But it works on iOS and tvOS! The crash always occurs when the particle systems emitter shape is being assigned a `SCNNode` geometry! Its that: EXC_BAD_ACCESS (code=1...) See the screenshots & test my simple example project. Xcode 7.2, Xcode 7.3 beta (7D111g), Mac OS X 10.11.3 (15D21) https://dl.dropboxusercontent.com/u/6979623/SCNParticleSystemSubclassBug/001.png https://dl.dropboxusercontent.com/u/6979623/SCNParticleSystemSubclassBug/002.png https://dl.dropboxusercontent.com/u/6979623/SCNParticleSystemSubclassBug/003.png https://dl.dropboxusercontent.com/u/6979623/SCNParticleSystemSubclassBug/SCNParticleSystemSubclassBug.zip
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!
Fixed
This has been fixed now in: • macOS Sierra 10.12 beta 1 • Xcode 8 beta 1