- Home /
Errors in Unity UI scripts MaskableGraphic.cs and RectMask2D.cs
I'm doing a VR Android build in Unity 2019.4.12f1 LTS. When attempting to build, the Unity UI scripts has errors and the build aborts. I have removed the Text Mesh Pro and Unity UI packages and re-installed them but the errors remain. Any assistance would be appreciated.
MaskableGraphic.cs triggers the following: C:\Program Files\Unity\Hub\Editor\2019.4.12f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.ugui\Runtime\UI\Core\MaskableGraphic.cs(152,28): 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?)
RectMask2D.cs triggers the following: C:\Program Files\Unity\Hub\Editor\2019.4.12f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.ugui\Runtime\UI\Core\RectMask2D.cs(175,41): error CS1501: No overload for method 'RectangleContainsScreenPoint' takes 4 arguments
Your answer