コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】Library\PackageCache\com.unity.textmeshpro@3.0.0\Scripts\Runtime\TMP_DefaultControls.cs(191,22):

概要

Library\PackageCache\com.unity.textmeshpro@3.0.0\Scripts\Runtime\TMP_DefaultControls.cs(191,22): 
error CS1061: 'RectMask2D' does not contain a definition for 'padding' 
and no accessible extension method 'padding' accepting a first argument 
of type 'RectMask2D' could be found 
(are you missing a using directive or an assembly reference?)

Unity プロジェクトを 20.19.4.6f1 にバージョンアップしたところ
上記のコンパイルエラーが発生するようになった

f:id:baba_s:20200816123731p:plain

Package Manager で TextMeshPro を 3.0.0 から 2.1.1 にダウングレードしたところ
コンパイルエラーが解消された