Unity-Technologies / arfoundation-samples

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

Can't run example app from GitHub is not working #947

Closed kotran88 closed 2 years ago

kotran88 commented 2 years ago

I'm using unity 2021.2.13f1 right after clone GitHub project here then run it on unity hub, it cause safe mode, and show 3 issues


Assets/Scripts/CameraConfigController.cs(4,22): error CS0234: The type or namespace name 'ARExtensions' does not exist in the namespace 'UnityEngine.XR' (are you missing an assembly reference?)

Assets/Scripts/TestCameraImage.cs(5,22): error CS0234: The type or namespace name 'ARExtensions' does not exist in the namespace 'UnityEngine.XR' (are you missing an assembly reference?)

Assets/Scripts/DisableVerticalPlanes.cs(36,23): error CS0246: The type or namespace name 'ARPlaneAddedEventArgs' could not be found (are you missing a using directive or an assembly reference?)

I'm using m1 MacBook with silicon unity what may be the problem? what is really weird is that on window 11 it works without doing something .