SceneKit collisions are not working in El Capitan beta?

I have a relatively simple SceneKit program that moves 2 cubes (i.e. 2 SCNNode box objects) in space and reports if there is a collision in the console.


The program works fine on Yosemite with Xcode 6.4 so I know the physics world, its delegate and its collision handler methods are being set up and called correctly. If I take the same program and recompile it on El Capitan using Xcode 7 beta, the collision handler methods never get called; breakpoints don't trigger, NSLog messages don't appear, etc.


Anyone else run into this? Do I need to do some other setup to get collision detection working in the beta and I've missed it in the documentation.


Search doesn't yield any results for this, but I find it hard to believe I'm the only one seeing this at such a late stage in the beta so I assume I'm doing something wrong.


Any pointers appreciated.

You've made sure that it's the exact same build, right? After you've made reasonably sure that it's not your fault, go ahead and file a Bug Report (bugreport.apple.com) for any unexpected change in behavior between OS versions.

Same build; I usually just copy-drag the project folder, with the Build folder deleted, from my Yosemite machine to my El Capitan one when I want to switch environments. I target 10.10 on both machines. The only differences should be the Xcode and SDK versions.


I'll file a bug. Going to Metal on El Capitan is a big change and I expected some problems, but this one is so visible and basic to SceneKit that my immediate thoughts were I can't be the only persone seeing this so I must be doing something wrong in how I create the objects.


Thanks for the reply.

SceneKit collisions are not working in El Capitan beta?
 
 
Q