[请益] 关于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