[請益] 關於Unity script serialization hash

作者: lovecold (小豬頭)   2015-12-30 11:58:35
各位好,最近我在使用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 呢??
麻煩各位幫幫忙了^^
作者: lovecold (小豬頭)   2014-01-01 09:39:00
但我目前只能用4啊,orz
作者: gyd (阿龍哥)   2015-12-31 19:11:00
unity 5之後, 一律全包, 沒改變的他會跳過

Links booklink

Contact Us: admin [ a t ] ucptt.com