c# – Ar Anchor in Unity Hub

I am trying to build a simple ar model which just overlays a plane over an image target. But for a few days I get this warnings

1.Packages\package\Vuforia\Scripts\Internal\ARFoundationIntegration\ARFoundationFacade.cs(268,26): warning CS0618: ‘ARAnchorManager.AddAnchor(Pose)’ is obsolete: ‘Add an anchor using AddComponent(). (2020-10-06)’

2.Packages\package\Vuforia\Scripts\Internal\ARFoundationIntegration\ARFoundationFacade.cs(298,17): warning CS0618: ‘ARAnchorManager.RemoveAnchor(ARAnchor)’ is obsolete: ‘Call Destroy() on the ARAnchor component to remove it. (2020-10-06)’

I am facing this problem for the first time and also I am new to this field. Can someone guide to solve this issue. Thanks in advance!

Read more here: Source link