arfoundation-samples icon indicating copy to clipboard operation
arfoundation-samples copied to clipboard

HumanBodyTracking3D - not working

Open sridevipavithra opened this issue 7 years ago • 42 comments

Hi, while trying to build the HumanBodyTracking3D sample scene, I got an error - nw_connection_receive_internal_block_invoke [C6] Receive reply failed with error "Operation canceled" Nothing happens after that. I'm using XCode - 11 beta and iPhone XS Max with iOS 13 beta. I've attached the log for your reference. Also, I do have an active WiFi. nw_connection_error.txt

sridevipavithra avatar Jun 21 '19 09:06 sridevipavithra

getting the exact same error(s) on iPadOS 13 (iPad Pro 11") using xcode 11, cloned from the master branch. The build finishes and runs on the device, but the errors show up in xcode's debug log

edit: to clarify I am also running Beta 2

Eisenhuth avatar Jun 21 '19 11:06 Eisenhuth

@sridevipavithra The errors being logged seem to be due to iOS13 being a Beta release and don't seem related to the Human body tracking functionality.

To confirm, if you point the back camera at a person (or a video of a person standing/walking) do you see the robot appear on the screen? Also, are you using iOS 13 Beta "2" (released on Jun 17th)? If so, we are working on integrating the changes in iOS 13 Beta 2 and body tracking functionality might not work as expected.

nishantkumar avatar Jun 21 '19 17:06 nishantkumar

@nishantkumar Yes! I'm using iOS 13 Beta 2. The body tracking functionalities don't work in this. Any idea when I can expect a working version?

Meanwhile, I'll also check with iOS 13 Beta 1 and get back to you regarding that. I also have a question, does the application require an active internet connection?

sridevipavithra avatar Jun 21 '19 17:06 sridevipavithra

@sridevipavithra We are actively working on fixing the iOS 13 Beta 2 issues, but do not have an ETA to share at the moment. The human body tracking sample should not require an active internet connection.

nishantkumar avatar Jun 21 '19 18:06 nishantkumar

@sridevipavithra @nishantkumar Hi, i am having the same error. Let me please know if IOS 13 Beta 1 worked for you. I cant find it in developer account for download anyway. Could this error be perhaps related to some settings in Unity ?

LukePenkava avatar Jun 22 '19 17:06 LukePenkava

Hi, I am only able to get the line renderer screen space joint to work, by simply adding it to HumanBody3D scene. I am running on the latest Unity 2019.1.7f1 and XCode Version 11.0 beta 2 (11M337n) and iPadOS 13.0 (17A5508m)

The robot in the HumanBody3D scene does not work.

On device: Receive reply failed with error "Operation canceled"

OnHumanBodiesChanged is never called nor is "Adding a new skeleton"

yosun avatar Jun 24 '19 02:06 yosun

@sridevipavithra The errors being logged seem to be due to iOS13 being a Beta release and don't seem related to the Human body tracking functionality.

To confirm, if you point the back camera at a person (or a video of a person standing/walking) do you see the robot appear on the screen? Also, are you using iOS 13 Beta "2" (released on Jun 17th)? If so, we are working on integrating the changes in iOS 13 Beta 2 and body tracking functionality might not work as expected.

Can you show an example video that demonstrates how the robot should load?

Please let us know which exact Unity version and XCode and iOS you used!

yosun avatar Jun 24 '19 02:06 yosun

I also have this problem, I hope to fix it as soon as possible.

kebiao avatar Jun 25 '19 04:06 kebiao

I'm starting to finally use Unity Pro support for these issues. Hoping they can help allocate more support here!

yosun avatar Jun 25 '19 04:06 yosun

@nishantkumar - Just checked wit iOS 13 Beta v1, the body tracking works and the robot is placed as expected. But I'm noticing a lot of difference between this and the Apple's BodyDetection Xcode project. The unity implementations seems unstable when compared to the one in native. When two or more people are in the room, the tracking becomes unstable and sometimes unresponsive. There are also cases where the it doesn't recognise someone at all. Is there a fix available for this? I'm using Unity version 2019.1.7f1.

sridevipavithra avatar Jun 25 '19 11:06 sridevipavithra

@nishantkumar If it does not require an internet connection, may I know why I'm getting this log?!

2019-06-25 12:21:53.830383+0530 3DhumanTracking[776:161020] Connection 1: received failure notification 2019-06-25 12:21:53.830590+0530 3DhumanTracking[776:161020] Connection 1: failed to connect 1:50, reason -1 2019-06-25 12:21:53.830665+0530 3DhumanTracking[776:161020] Connection 1: encountered error(1:50) 2019-06-25 12:21:53.840378+0530 3DhumanTracking[776:161020] Task .<1> HTTP load failed, 0/0 bytes (error code: -1009 [1:50]) 2019-06-25 12:21:53.853770+0530 3DhumanTracking[776:160999] Task .<1> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x2832b87e0 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask .<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalUploadTask .<1>" ), NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=https://config.uca.cloud.unity3d.com/, NSErrorFailingURLKey=https://config.uca.cloud.unity3d.com/, _kCFStreamErrorDomainKey=1}

sridevipavithra avatar Jun 25 '19 11:06 sridevipavithra

@nishantkumar - Just checked wit iOS 13 Beta v1, the body tracking works and the robot is placed as expected. But I'm noticing a lot of difference between this and the Apple's BodyDetection Xcode project. The unity implementations seems unstable when compared to the one in native. When two or more people are in the room, the tracking becomes unstable and sometimes unresponsive. There are also cases where the it doesn't recognise someone at all. Is there a fix available for this? I'm using Unity version 2019.1.7f1.

Hi! I'm surprised you are able to get the robot to place - though I see the line renderer for body segmentation, for 3D robot.... it seems that for me OnHumanBodiesChanged is never called?

yosun avatar Jun 25 '19 23:06 yosun

Hi, I am only able to get the line renderer screen space joint to work, by simply adding it to HumanBody3D scene. I am running on the latest Unity 2019.1.7f1 and XCode Version 11.0 beta 2 (11M337n) and iPadOS 13.0 (17A5508m)

@yosun You're using iPadOS 13 beta v2. Try downgrading it to beta version 1 (17A5492t) . It works.

sridevipavithra avatar Jun 26 '19 06:06 sridevipavithra

@sridevipavithra How did you downgrade from Beta 2 to Beta 1? I tried googling it for 1 hour but every description and link leads to only Beta 2.

ghost avatar Jun 26 '19 14:06 ghost

@smurfkiller I had the IPSW config file for beta 1 with me even before before beta 2 launched. So it was easier I guess.

sridevipavithra avatar Jun 26 '19 15:06 sridevipavithra

@sridevipavithra Ah I see, then I'm probably out of luck. Thx :)

ghost avatar Jun 26 '19 15:06 ghost

@sridevipavithra just tried the public beta - same issue

2019-06-26 12:51:39.449680-0700 humanbody[1827:177660] [] nw_connection_receive_internal_block_invoke [C3] Receive reply failed with error "Operation canceled"

yosun avatar Jun 26 '19 20:06 yosun

@sridevipavithra The errors being logged seem to be due to iOS13 being a Beta release and don't seem related to the Human body tracking functionality.

To confirm, if you point the back camera at a person (or a video of a person standing/walking) do you see the robot appear on the screen? Also, are you using iOS 13 Beta "2" (released on Jun 17th)? If so, we are working on integrating the changes in iOS 13 Beta 2 and body tracking functionality might not work as expected.

Just a note that this issue occurs also with the iOS 13 public beta Please fix it...

yosun avatar Jun 26 '19 20:06 yosun

Public Beta 1 is the same as Dev Beta 2 @yosun FYI.

+1 for this being fixed though :)

davidj-bbc avatar Jun 27 '19 05:06 davidj-bbc

I found the Beta 1 IPSW here: http://www.iphonehacks.com/2019/06/download-ipados-beta-for-ipad.html Now I see the robot sometimes somewhere and very small on the screen but it does not track anything.

ghost avatar Jun 27 '19 06:06 ghost