0

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.

I don’t understand why this is crashing, is there a workaround? How can I add custom properties to a SCNParticleSystem otherwise?

Xcode 7.2

Xcode 7.3 beta (7D111g)

Mac OS X 10.11.3 (15D21)

Example Project

enter image description here

enter image description here

StackUnderflow
  • 2,403
  • 2
  • 21
  • 28

0 Answers0