コガネブログ

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

【Unity】Type 'XXXX' has an extra field 'YYYY' of type 'ZZZZ' in the player and thus can't be serialized

概要

Type 'XXXX' has an extra field 'YYYY' of type 'ZZZZ' in the player and thus can't be serialized 

アセットバンドルビルド時に上記のエラーが発生する現象に遭遇した

Library フォルダ内の「BuildPlayerData」を削除してからビルドしたら
エラーが発生しなくなった

参考サイト様