HitTest on ARSCNPlaneGeometry causes crash
Originator: | manuela.schrenk | ||
Number: | rdar://41087332 | Date Originated: | 13/06/2018 |
Status: | DUPLICATE of 40861906 | Resolved: | |
Product: | SceneKit + ARKit | Product Version: | |
Classification: | crash | Reproducible: | YES |
Area: SceneKit Summary: If hit test is done in a SceneKit scene with nothing but a ARSCNPlaneGeometry in there, the hit test crashes the app. (EXEC_BAD_ACCESS). The error occurs on iOS 11.3 and Xcode 9.4 by using the ARSCNPlaneGeometry available since ARKit1.5 (which is included in iOS 11.3). When a "normal" SCNPlane is used for visualising the plane found by ARKit, everything works as expected and the hit test succeeds. Steps to Reproduce: 1. Take the attached sample app and execute it 2. Wait until a horizontal plane was detected 3. Then tap on the screen with the red cross in the middle pointing to the plane 4. App crashes :( Expected Results: Hit test shall return all nodes which are located in the hit test's direction Actual Results: App crashes because of an error during the hit test calculation Version/Build: See attached sample project Configuration: See attached sample project
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!