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

AR Foundation 2.2.0-Preview 3

Open smxthereisonlyone opened this issue 7 years ago • 7 comments

Following Error after updating to AR Foundation 2.2.0-Preview 3

Library/PackageCache/[email protected]/Runtime/HumanBody/ARKitXRHumanBodySubsystem.cs(127,34): error CS0115: 'ARKitHumanBodySubsystem.Provider.TrySetHumanBodyPoseEstimationEnabled(bool)': no suitable method found to override

What to do?

smxthereisonlyone avatar Jul 24 '19 23:07 smxthereisonlyone

You must also update the ARKit package to at least 2.2.0-preview.2, though I would recommend 2.2.0-preview.3. These correspond to different versions of the iOS 13 beta, which has meant breaking changes between versions.

tdmowrer avatar Jul 24 '19 23:07 tdmowrer

Okay, would be great to pinpoint to that in the UI

smxthereisonlyone avatar Jul 25 '19 11:07 smxthereisonlyone

Anyway, after updating I get the following error:

Assets/Scenes/ARCollaborationData/TCPConnection.cs(235,43): error CS1061: 'ARCollaborationData' does not contain a definition for 'bytes' and no accessible extension method 'bytes' accepting a first argument of type 'ARCollaborationData' could be found (are you missing a using directive or an assembly reference?)

smxthereisonlyone avatar Jul 25 '19 11:07 smxthereisonlyone

Any idea why? @tdmowrer :)

smxthereisonlyone avatar Jul 31 '19 10:07 smxthereisonlyone

@tdmowrer I did everything you said. I am on 2019.2.0f1, AR Foundation 2.2.0 Preview 3, ArKit XR Plugin 2.2.0 Preview 4, ARKit Face Tracking 1.1.0 Preview 4, AR Subsystems 2.2.0 Preview 3, ARCore XR Plugin 2.1.1 - what else do I need to do??

I still have this error:

Assets/Scenes/ARCollaborationData/TCPConnection.cs(157,56): error CS1061: 'ARCollaborationData' does not contain a definition for 'bytes' and no accessible extension method 'bytes' accepting a first argument of type 'ARCollaborationData' could be found (are you missing a using directive or an assembly reference?)

smxthereisonlyone avatar Aug 02 '19 16:08 smxthereisonlyone

Ah got it - I had an older version of the samples.

I'd suggest to add the samples to the Package Manager and/or more clearly communicate what you're changing in every release. Would have saved me 2 hours.

smxthereisonlyone avatar Aug 02 '19 17:08 smxthereisonlyone

We've experimented with that, as it would eliminate the need for multiple branches in this repo, but the package manager's support for built-in samples isn't robust enough yet.

tdmowrer avatar Oct 07 '19 02:10 tdmowrer