Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.02k stars 1.12k forks source link

Errors when project is opened! #962

Closed nsmith1024 closed 2 years ago

nsmith1024 commented 2 years ago

Using unity version 2020.3.32f

I get the following errors when i simply open your project in the editor, can you please help!

Library\PackageCache\com.unity.xr.arfoundation@5.0.0-pre.8\Runtime\ARSubsystems\HelpUrls.cs(8,30): error CS0509: 'HelpURLAttribute': cannot derive from sealed type 'HelpURLAttribute'

Library\PackageCache\com.unity.xr.arfoundation@5.0.0-pre.8\Runtime\ARSubsystems\ImageTrackingSubsystem\XRReferenceImageLibrary.cs(23,6): error CS0616: 'HelpURLAttribute' is not an attribute class

Library\PackageCache\com.unity.xr.arfoundation@5.0.0-pre.8\Runtime\ARSubsystems\ObjectTrackingSubsystem\XRReferenceObjectEntry.cs(20,6): error CS0616: 'HelpURLAttribute' is not an attribute class

tdmowrer commented 2 years ago

AR Foundation 5.0 requires Unity 2021.2+. Try upgrading to 2021.2 or later.