Hello, I created a game for android, I’m starting to compile and it gives an error. There are no errors in the scripts, here are screenshots of the errors that the compiler gave me, I do not understand what is required there. Please help, the only hope is in you.
1 error:
C: \ Program Files \ Unity \ Editor \ Data \ Resources \ PackageManager \ BuiltInPack ages \ com.unity.ugui \ Runtime \ UI \ Core \ Layout \ CanvasScaler.cs (2 41,20): error CS0117: ‘Canvas’ does not contain a definition for ‘preWillRenderCanvases’
2 error:
C: \ Program Files \ Unity \ Editor \ Data \ Resources \ PackageManager \ BuiltInPack ages \ com.unity.ugui \ Runtime \ UI \ Core \ Layout \ CanvasScaler.cs (2 53,20): error CS0117: ‘Canvas’ does not contain a definition for ‘preWillRenderCanvases’
3 error:
C: \ Program Files \ Unity \ Editor \ Data \ Resources \ PackageManager \ BuiltInPack ages \ com.unity.ugui \ Runtime \ UI \ Core \ Layout \ CanvasScaler.cs (3 02.43): error CS1061: ‘Canvas’ does not contain a definition for ‘renderingDisplaySize’ and no accessible extension method ‘renderingDisplaySize’ accepting a first argument of type ‘Canvas’ could be found (are you missing a using directive or an assembly reference?)
4 error:
C: \ Program Files \ Unity \ Editor \ Data \ Resources \ PackageManager \ BuiltInPack ages \ com.unity.ugui \ Runtime \ UI \ Core \ MaskableGraphic.cs (152,2 8): error CS1061: ‘CanvasRenderer’ does not contain a definition for ‘clippingSoftness’ and no accessible extension method ‘clippingSoftness’ accepting a first argument of type ‘CanvasRenderer’ could be found (are you missing a using directive or an assembly reference?)
5 error:
C: \ Program Files \ Unity \ Editor \ Data \ Resources \ PackageManager \ BuiltInPack ages \ com.unity.ugui \ Runtime \ UI \ Core \ RectMask2D.cs (175,41): error CS1501: No overload for method ‘RectangleContainsScreenPoint’ takes 4 arguments
6 error:
UnityEditor.BuildPlayerWindow + BuildMethodException: 6 errors
at UnityEditor.BuildPlayerWindow + DefaultBuildMethods.BuildPlaye r (UnityEditor.BuildPlayerOptions options) [0x002bf] in <4a1b55d6b009421a9ad1d16b54b782d5>: 0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <4a1b55d6b009421a9ad1d16b54b782d5>: 0
UnityEngine.GUIUtility: ProcessEvent (int, intptr)