Xcode SceneKit template not working

I created a project using "AR Reality App" template. When I run it, there are following error messages in the debug panel. There is no virtual box of Experience.rcproject in the physical world.

What am I missing?

I am sure this template was working before my updating iOS and Xcode to current/lates version.


My testing environment: Xcode: Version 13.0 (13A233), iOS: 15.0.1


2021-10-08 19:00:56.253834+0300 FirstARProject[13602:894041] Metal GPU Frame Capture Enabled

2021-10-08 19:00:56.254115+0300 FirstARProject[13602:894041] Metal API Validation Enabled

2021-10-08 19:00:57.081193+0300 FirstARProject[13602:894041] [AssetTypes] Registering library (/System/Library/PrivateFrameworks/CoreRE.framework/default.metallib) that already exists in shader manager. Library will be overwritten.

2021-10-08 19:00:57.439006+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/suFeatheringCreateMergedOcclusionMask.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.491103+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arKitPassthrough.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.493113+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/drPostAndComposition.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.494988+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arSegmentationComposite.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.497119+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arInPlacePostProcessCombinedPermute0.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.499372+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arInPlacePostProcessCombinedPermute1.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.500704+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arInPlacePostProcessCombinedPermute2.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.524705+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arInPlacePostProcessCombinedPermute3.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.526440+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arInPlacePostProcessCombinedPermute4.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.527467+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arInPlacePostProcessCombinedPermute5.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.528473+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arInPlacePostProcessCombinedPermute6.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.529441+0300 FirstARProject[13602:894041] [Assets] Resolving material name 'engine:BuiltinRenderGraphResources/AR/arInPlacePostProcessCombinedPermute7.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle

2021-10-08 19:00:57.530827+0300 FirstARProject[13602:894041] [Foundation.Serialization] Json Parse Error line 18: Json Deserialization; unknown member 'EnableARProbes' - skipping.

2021-10-08 19:00:57.530896+0300 FirstARProject[13602:894041] [Foundation.Serialization] Json Parse Error line 20: Json Deserialization; unknown member 'EnableGuidedFilterOcclusion' - skipping.

2021-10-08 19:01:01.877601+0300 FirstARProject[13602:894041] throwing -10878

2021-10-08 19:01:01.879167+0300 FirstARProject[13602:894041] throwing -10878

2021-10-08 19:01:01.879276+0300 FirstARProject[13602:894041] throwing -10878

2021-10-08 19:01:01.879796+0300 FirstARProject[13602:894041] throwing -10878

2021-10-08 19:01:01.879906+0300 FirstARProject[13602:894041] throwing -10878

2021-10-08 19:01:01.880011+0300 FirstARProject[13602:894041] throwing -10878

2021-10-08 19:01:01.880096+0300 FirstARProject[13602:894041] throwing -10878

2021-10-08 19:01:01.880177+0300 FirstARProject[13602:894041] throwing -10878

2021-10-08 19:01:01.880450+0300 FirstARProject[13602:894041] throwing -10878

2021-10-08 19:01:02.732980+0300 FirstARProject[13602:894398] [Technique] ARWorldTrackingTechnique <0x11a48d2e0>: World tracking performance is being affected by resource constraints [2]

Replies

Hello,

Are you sure that a plane was successfully detected? By default, the box in that project has a "plane" anchoring target, and so it won't appear in the scene until a plane has been successfully detected.

You could check by implementing the session(_:didAdd:) delegate method, and seeing if any ARPlaneAnchors have been added.

  • I focused on the warning/error messages and thought the problem (not seeing the box) was due to them. However, as you wrote, I noticed by chance that it needs a horizontal plane to show off the box. Thank you.

    NOT: Warning messages which has word "deprecated" are still coming. I just neglect them.

Add a Comment