【Unity】Unity A scripted object (probably XXXX?) has a different serialization layout when loading. (Read YY bytes but expected ZZ bytes)

概要 Unity A scripted object (probably XXXX?) has a different serialization layout when loading. (Read YY bytes but expected ZZ bytes) Unity Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts? Unity プロジェクトを 2022.1.23f1 から 2022.3.16f1 にアップデートし…