AR Foundation 2.2.0-Preview 3
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?
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.
Okay, would be great to pinpoint to that in the UI
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?)
Any idea why? @tdmowrer :)
@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?)
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.
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.