首页 > 其他分享 >Error building player because script class layout is incompatible between the editor and the player

Error building player because script class layout is incompatible between the editor and the player

时间:2022-12-22 17:56:03浏览次数:41  
标签:building because player UnityEditor master Editor AssetBundles Browser

解决办法

  • 【临时办法】根据提示,删除/注释掉对应class中的序列化标签[Serializable]/[XmlRoot]/[XmlElement]等各种序列化标签属性。打完包后再恢复这些标签
  • 【躺平办法】等它自己好

    标签:building,because,player,UnityEditor,master,Editor,AssetBundles,Browser
    From: https://www.cnblogs.com/NZQLA/p/16999299.html

相关文章