Freezes/crashes when Using Barracuda on XR, XS Max

@alexandreribard_unity any update from your side? I think we may have resolved some other issue we had going on but now we seem to be getting pretty consistent logs with some kind of network issue. It still freezes up when we’re attempting to do the recognition but it will start spitting out the following logs upon freezing:

Updating user data
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

StopLocationServices Location Services, Stopped
set data for: ImageRecognition
<color=blue> AR enabled: True
REARCAM is front facing:False
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

2021-03-01 11:48:25.600431-0800 aod[797:251985] [tcp] tcp_input [C5.1:3] flags=[R] seq=2559442872, ack=0, win=0 state=LAST_ACK rcv_nxt=2559442872, snd_una=154208125
2021-03-01 11:48:25.603794-0800 aod[797:251985] [tcp] tcp_input [C5.1:3] flags=[R] seq=2559442872, ack=0, win=0 state=CLOSED rcv_nxt=2559442872, snd_una=154208125
2021-03-01 11:48:25.604633-0800 aod[797:251985] [tcp] tcp_input [C5.1:3] flags=[R] seq=2559442872, ack=0, win=0 state=CLOSED rcv_nxt=2559442872, snd_una=154208125
2021-03-01 11:48:33.571040-0800 aod[797:251604] [] nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW 66F2E2FC-A2CB-4092-B960-417EE2C2EFF3 [22: Invalid argument]
2021-03-01 11:48:33.571665-0800 aod[797:251604] [connection] nw_endpoint_flow_setup_channel [C17.1 0.0.0.0:443 in_progress channel-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] failed to request add nexus flow
2021-03-01 11:48:33.573824-0800 aod[797:251604] Connection 17: received failure notification
2021-03-01 11:48:33.574107-0800 aod[797:251604] Connection 17: failed to connect 1:22, reason -1
2021-03-01 11:48:33.574268-0800 aod[797:251604] Connection 17: encountered error(1:22)
2021-03-01 11:48:33.576445-0800 aod[797:251898] Task <7BDBBF75-47A9-4D76-8EE0-3CEA6B9B7015>.<6> HTTP load failed, 0/0 bytes (error code: 22 [1:22])
2021-03-01 11:48:33.577406-0800 aod[797:251898] Task <7BDBBF75-47A9-4D76-8EE0-3CEA6B9B7015>.<6> finished with error [22] Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <7BDBBF75-47A9-4D76-8EE0-3CEA6B9B7015>.<6>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalUploadTask <7BDBBF75-47A9-4D76-8EE0-3CEA6B9B7015>.<6>"
), _kCFStreamErrorCodeKey=22}
2021-03-01 11:48:58.901803-0800 aod[797:252108] [] nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW 50A0685E-7520-4E16-A0D4-0B09E5E62BC3 [22: Invalid argument]
2021-03-01 11:48:58.902242-0800 aod[797:252108] [connection] nw_endpoint_flow_setup_channel [C18.1 0.0.0.0:443 in_progress channel-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] failed to request add nexus flow
2021-03-01 11:48:58.918738-0800 aod[797:252108] Connection 18: received failure notification
2021-03-01 11:48:58.918966-0800 aod[797:252108] Connection 18: failed to connect 1:22, reason -1
2021-03-01 11:48:58.919111-0800 aod[797:252108] Connection 18: encountered error(1:22)
2021-03-01 11:48:58.921718-0800 aod[797:252108] Task <CC3A5D8B-52CF-4690-8678-8BA634F818A2>.<7> HTTP load failed, 0/0 bytes (error code: 22 [1:22])
2021-03-01 11:48:58.923130-0800 aod[797:252108] Task <CC3A5D8B-52CF-4690-8678-8BA634F818A2>.<7> finished with error [22] Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <CC3A5D8B-52CF-4690-8678-8BA634F818A2>.<7>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalUploadTask <CC3A5D8B-52CF-4690-8678-8BA634F818A2>.<7>"
), _kCFStreamErrorCodeKey=22}
2021-03-01 11:49:33.482460-0800 aod[797:252108] [] nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW AF8067ED-018F-4E5A-B014-E0A5CD447541 [22: Invalid argument]
2021-03-01 11:49:33.482662-0800 aod[797:252108] [connection] nw_endpoint_flow_setup_channel [C19.1 0.0.0.0:443 in_progress channel-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] failed to request add nexus flow
2021-03-01 11:49:33.498156-0800 aod[797:252108] Connection 19: received failure notification
2021-03-01 11:49:33.498320-0800 aod[797:252108] Connection 19: failed to connect 1:22, reason -1
2021-03-01 11:49:33.498452-0800 aod[797:252108] Connection 19: encountered error(1:22)
2021-03-01 11:49:33.500391-0800 aod[797:252108] Task <5CAB56C6-6777-42BF-AEF1-C64750948870>.<8> HTTP load failed, 0/0 bytes (error code: 22 [1:22])
2021-03-01 11:49:33.501435-0800 aod[797:252108] Task <5CAB56C6-6777-42BF-AEF1-C64750948870>.<8> finished with error [22] Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <5CAB56C6-6777-42BF-AEF1-C64750948870>.<8>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalUploadTask <5CAB56C6-6777-42BF-AEF1-C64750948870>.<8>"
), _kCFStreamErrorCodeKey=22}
2021-03-01 11:50:03.522524-0800 aod[797:252204] [] nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW EDD24596-EC16-4F14-8626-AD53124B144C [22: Invalid argument]
2021-03-01 11:50:03.522895-0800 aod[797:252204] [connection] nw_endpoint_flow_setup_channel [C20.1 0.0.0.0:443 in_progress channel-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] failed to request add nexus flow
2021-03-01 11:50:03.525550-0800 aod[797:252204] Connection 20: received failure notification
2021-03-01 11:50:03.525833-0800 aod[797:252204] Connection 20: failed to connect 1:22, reason -1
2021-03-01 11:50:03.525980-0800 aod[797:252204] Connection 20: encountered error(1:22)
2021-03-01 11:50:03.528774-0800 aod[797:252204] Task <1C77EB3E-C9D3-4746-A526-A180C35541E6>.<9> HTTP load failed, 0/0 bytes (error code: 22 [1:22])
2021-03-01 11:50:03.530117-0800 aod[797:252284] Task <1C77EB3E-C9D3-4746-A526-A180C35541E6>.<9> finished with error [22] Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <1C77EB3E-C9D3-4746-A526-A180C35541E6>.<9>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalUploadTask <1C77EB3E-C9D3-4746-A526-A180C35541E6>.<9>"
), _kCFStreamErrorCodeKey=22}
2021-03-01 11:50:33.536750-0800 aod[797:252109] [] nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW 9291E229-59B8-4D79-9860-5E53136D57E7 [22: Invalid argument]
2021-03-01 11:50:33.537040-0800 aod[797:252109] [connection] nw_endpoint_flow_setup_channel [C21.1 0.0.0.0:443 in_progress channel-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] failed to request add nexus flow
2021-03-01 11:50:33.552884-0800 aod[797:252387] Connection 21: received failure notification
2021-03-01 11:50:33.553153-0800 aod[797:252387] Connection 21: failed to connect 1:22, reason -1
2021-03-01 11:50:33.553384-0800 aod[797:252387] Connection 21: encountered error(1:22)
2021-03-01 11:50:33.557302-0800 aod[797:252387] Task <378FB7F8-9B5B-4629-83C0-B54A2EAD4E64>.<10> HTTP load failed, 0/0 bytes (error code: 22 [1:22])
2021-03-01 11:50:33.558919-0800 aod[797:252109] Task <378FB7F8-9B5B-4629-83C0-B54A2EAD4E64>.<10> finished with error [22] Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <378FB7F8-9B5B-4629-83C0-B54A2EAD4E64>.<10>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalUploadTask <378FB7F8-9B5B-4629-83C0-B54A2EAD4E64>.<10>"
), _kCFStreamErrorCodeKey=22}
2021-03-01 11:51:03.481215-0800 aod[797:252468] [] nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW 48556F12-2875-416C-9A2C-D96788F474CB [22: Invalid argument]
2021-03-01 11:51:03.481460-0800 aod[797:252468] [connection] nw_endpoint_flow_setup_channel [C22.1 0.0.0.0:443 in_progress channel-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] failed to request add nexus flow
2021-03-01 11:51:03.500982-0800 aod[797:252468] Connection 22: received failure notification
2021-03-01 11:51:03.501150-0800 aod[797:252468] Connection 22: failed to connect 1:22, reason -1
2021-03-01 11:51:03.501248-0800 aod[797:252468] Connection 22: encountered error(1:22)
2021-03-01 11:51:03.503009-0800 aod[797:252468] Task <EAECC8AF-E77F-493A-BE6C-270A647AE7F6>.<11> HTTP load failed, 0/0 bytes (error code: 22 [1:22])
2021-03-01 11:51:03.504078-0800 aod[797:252468] Task <EAECC8AF-E77F-493A-BE6C-270A647AE7F6>.<11> finished with error [22] Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <EAECC8AF-E77F-493A-BE6C-270A647AE7F6>.<11>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalUploadTask <EAECC8AF-E77F-493A-BE6C-270A647AE7F6>.<11>"
), _kCFStreamErrorCodeKey=22}
2021-03-01 11:51:33.581457-0800 aod[797:252469] [] nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW E19B56B4-14FE-4B88-B4F2-7F512F4B4634 [22: Invalid argument]
2021-03-01 11:51:33.581922-0800 aod[797:252469] [connection] nw_endpoint_flow_setup_channel [C23.1 0.0.0.0:443 in_progress channel-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] failed to request add nexus flow
2021-03-01 11:51:33.583785-0800 aod[797:252469] Connection 23: received failure notification
2021-03-01 11:51:33.584022-0800 aod[797:252469] Connection 23: failed to connect 1:22, reason -1
2021-03-01 11:51:33.584168-0800 aod[797:252469] Connection 23: encountered error(1:22)
2021-03-01 11:51:33.586601-0800 aod[797:252469] Task <DDD8C917-133F-414B-A1AD-B3655F0B32A4>.<12> HTTP load failed, 0/0 bytes (error code: 22 [1:22])
2021-03-01 11:51:33.588043-0800 aod[797:252469] Task <DDD8C917-133F-414B-A1AD-B3655F0B32A4>.<12> finished with error [22] Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <DDD8C917-133F-414B-A1AD-B3655F0B32A4>.<12>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalUploadTask <DDD8C917-133F-414B-A1AD-B3655F0B32A4>.<12>"
), _kCFStreamErrorCodeKey=22}
2021-03-01 11:51:43.294646-0800 aod[797:252563] XPC connection interrupted
2021-03-01 11:52:03.545952-0800 aod[797:252679] [] nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW 2E18148D-2934-4A22-BF84-E373231D8C45 [22: Invalid argument]
2021-03-01 11:52:03.546257-0800 aod[797:252679] [connection] nw_endpoint_flow_setup_channel [C24.1 0.0.0.0:443 in_progress channel-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] failed to request add nexus flow
2021-03-01 11:52:03.561651-0800 aod[797:252679] Connection 24: received failure notification
2021-03-01 11:52:03.561925-0800 aod[797:252679] Connection 24: failed to connect 1:22, reason -1
2021-03-01 11:52:03.562157-0800 aod[797:252679] Connection 24: encountered error(1:22)
2021-03-01 11:52:03.565764-0800 aod[797:252679] Task <3E8386B3-0427-4DDD-823F-DFB35C4B47AC>.<13> HTTP load failed, 0/0 bytes (error code: 22 [1:22])
2021-03-01 11:52:03.566944-0800 aod[797:252469] Task <3E8386B3-0427-4DDD-823F-DFB35C4B47AC>.<13> finished with error [22] Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <3E8386B3-0427-4DDD-823F-DFB35C4B47AC>.<13>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalUploadTask <3E8386B3-0427-4DDD-823F-DFB35C4B47AC>.<13>"
), _kCFStreamErrorCodeKey=22}
(lldb)

I’m wondering if this is related to our previous issue we mentioned here:
UnityWebRequests on iOS sometimes get stuck indefinitely even with timeout set page-3

One of the most recent comments in that thread actually mention a similar thing we noticed, the issue happens less often (or not at all) when we have Development Build checked.