CS0234 & CS0246 Errors w/ ARFoundation Samples
After downloading the Samples package and opening it in Unity, I got 19 errors. A few of them:
Library\PackageCache\[email protected]\Runtime\AR\MeshQueue.cs(13,49): error CS0246: The type or namespace name 'MeshInfo' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\[email protected]\Runtime\AR\MeshQueue.cs(5,37): error CS0234: The type or namespace name 'MeshId' does not exist in the namespace 'UnityEngine.XR' (are you missing an assembly reference?)
Library\PackageCache\[email protected]\Runtime\AR\ARMeshManager.cs(156,16): error CS0246: The type or namespace name 'XRMeshSubsystem' could not be found (are you missing a using directive or an assembly reference?)
Any ideas on what I should do? Tried searching here but couldn't find anyone with the same problem..
Versions: Unity: 2019.3.0a3 ARFoundation 2.2.0 ARCore 2.2.0 ARKit 2.2.0 ARKit Face Tracking 1.1.0
Fun of this closed button to glitch on me. Anyhow, still having problems with this. Redownloading Unity / the Samples project didn't work either.
The latest ARFoundation includes support for one new feature whose namespace will change in 2019.3. For now, either use 2019.1, 2019.2, or an earlier release of ARFoundation.
Hi. Downgrade your AR Foundation version to 2.0.2 into the Package Manager. It's work for me.
Going to Unity 2019.1 worked perfectly. Downgrading to AR Foundation V2.0.2 using Unity 2019.3 did NOT work. I just got different errors.
Thanks for the suggestions tho.
If the ARFoundation could not be used in Unity 2019.3 for Android, is that means that ARFoundation cannot be used for both iOS and Android at the same time as the iOS need Unity 2019.3? Any solution for this?
Thanks!
If the ARFoundation could not be used in Unity 2019.3 for Android, is that means that ARFoundation cannot be used for both iOS and Android at the same time as the iOS need Unity 2019.3? Any solution for this?
Thanks!
ARFoundation is 2019.3 compatible. The samples in this repo can be opened in 2019.2 or 2019.3 and have been tested with Android and iOS.