dilmerv / UnityARFoundationEssentials

AR Foundation examples created with Unity and ARKit
https://www.youtube.com/@dilmerv
MIT License
787 stars 223 forks source link

Receive reply failed with error "Operation canceled" error in XCode #1

Open e95coder opened 5 years ago

e95coder commented 5 years ago

I am using the following: Catalina OSX, XCode 11 Beta, iPad_9.7 iOS 13 Beta, Unity 2019.1.6, Visual Studio for Mac latest

On XCode (set to Automatic license and team)..Builds..and runs on iPad but the camera doesn't face me and texture does not appear.

I get the following error in XCode:

2019-06-12 01:42:04.437963-0700 eg[717:87079] Built from '2019.1/staging' branch, Version '2019.1.6f1 (f2970305fe1c)', Build type 'Release', Scripting Backend 'il2cpp' 2019-06-12 01:42:04.445133-0700 eg[717:87079] -> registered mono modules 0x105194dc0 -> applicationDidFinishLaunching() 2019-06-12 01:42:04.538336-0700 eg[717:87079] Metal GPU Frame Capture Enabled -> applicationDidBecomeActive() GfxDevice: creating device client; threaded=1 Initializing Metal device caps: Apple A9X GPU Initialize engine version: 2019.1.6f1 (f2970305fe1c) 2019-06-12 01:42:04.919325-0700 eg[717:87079] Unbalanced calls to begin/end appearance transitions for <SplashScreenController: 0x10823bf40>. UnloadTime: 1.823208 ms Setting up 1 worker threads for Enlighten. Thread -> id: 16d21f000 -> priority: 1 2019-06-12 01:42:08.956790-0700 eg[717:87184] NSURLSessionEffectiveConfiguration - _socketStreamProperties is a connection property 2019-06-12 01:42:09.457225-0700 eg[717:87235] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed 2019-06-12 01:42:09.552133-0700 eg[717:87212] [] nw_connection_receive_internal_block_invoke [C1] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:09.552203-0700 eg[717:87212] [] nw_connection_receive_internal_block_invoke [C1] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:09.552243-0700 eg[717:87212] [] nw_connection_receive_internal_block_invoke [C1] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:09.552309-0700 eg[717:87212] [] nw_connection_receive_internal_block_invoke [C1] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:10.292605-0700 eg[717:87212] [] nw_connection_receive_internal_block_invoke [C2] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:10.293564-0700 eg[717:87212] [] nw_connection_receive_internal_block_invoke [C2] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:10.293624-0700 eg[717:87212] [] nw_connection_receive_internal_block_invoke [C2] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:10.293663-0700 eg[717:87212] [] nw_connection_receive_internal_block_invoke [C2] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:10.698837-0700 eg[717:87235] [] nw_connection_receive_internal_block_invoke [C3] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:10.698901-0700 eg[717:87235] [] nw_connection_receive_internal_block_invoke [C3] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:10.698941-0700 eg[717:87235] [] nw_connection_receive_internal_block_invoke [C3] Receive reply failed with error "Operation canceled" 2019-06-12 01:42:10.698977-0700 eg[717:87235] [] nw_connection_receive_internal_block_invoke [C3] Receive reply failed with error "Operation canceled" -> applicationWillResignActive() -> applicationDidEnterBackground()


Not sure if a script or component is missing in Unity or there is a setting that needs to be set. Everything in the UI seems to look good.

Thanks, Enrique

dilmerv commented 5 years ago

This article shows some of the requirements for Face Tracking and features available in ARKit3:

https://9to5mac.com/2019/06/04/arkit-3-device-support

"People Occlusion and the use of motion capture, simultaneous front and back camera, and multiple face tracking are supported on devices with A12/A12X Bionic chips, ANE, and TrueDepth Camera."