作者lovecold (小豬頭)
看板GameDesign
標題[請益] 關於Unity script serialization hash
時間Wed Dec 30 11:58:35 2015
各位好,最近我在使用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
→ gyd: unity 5之後, 一律全包, 沒改變的他會跳過 12/31 19:11
→ lovecold: 但我目前只能用4啊,orz 01/01 09:39