lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
246 stars 17 forks source link

41087332: HitTest on ARSCNPlaneGeometry causes crash #19907

Open openradar-mirror opened 6 years ago

openradar-mirror commented 6 years ago

Description

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

- Product Version: Created: 2018-06-13T15:02:16.875970 Originated: 2018-06-13T00:00:00 Open Radar Link: http://www.openradar.me/41087332

openradar-mirror commented 6 years ago

Modified: 2018-06-23T08:54:42.581510

openradar-mirror commented 6 years ago

Modified: 2018-06-23T08:54:42.581510

openradar-mirror commented 6 years ago

Modified: 2018-06-23T08:54:42.581510

openradar-mirror commented 6 years ago

Modified: 2018-06-23T08:54:42.581510

openradar-mirror commented 6 years ago

Modified: 2018-06-23T08:54:42.581510

openradar-mirror commented 6 years ago

Modified: 2018-06-23T08:54:42.581510

openradar-mirror commented 6 years ago

Modified: 2018-06-23T08:54:42.581510