[請益] 關於Unity script serialization hash

看板GameDesign (遊戲設計)作者 (小豬頭)時間9年前 (2015/12/30 11:58), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
各位好,最近我在使用Unity AssetBundle時碰到一些問題, 在我修改程式碼再build到機器上後,有時會碰到 AssetBundle loading failed because the xxx script serialization hash does not match. Supported: 27a961dd, loading: b11d58c3 這種錯誤,我只要重新打包AssetBundle就好了, 但這樣很沒有效率,一定要build到機器上才知道有哪些AssetBundle要重包。 我在找資料時有看到一段話是這麼寫的 A hash of all serialized script properties is used to detect if the binary data has the same data layout. 想請問要怎麼 hash of all serialized script properties 呢?? 麻煩各位幫幫忙了^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 122.117.44.4 ※ 文章網址: https://www.ptt.cc/bbs/GameDesign/M.1451447917.A.20B.html

12/31 19:11, , 1F
unity 5之後, 一律全包, 沒改變的他會跳過
12/31 19:11, 1F

01/01 09:39, , 2F
但我目前只能用4啊,orz
01/01 09:39, 2F
文章代碼(AID): #1MWrPj8B (GameDesign)
文章代碼(AID): #1MWrPj8B (GameDesign)