GetAssetDependencyHash can't detect change on ScriptableObject

Unity version : 2020.3.30f1c1 and 2019.4.31f1

how to reproduce
1.Prepare a ScriptableObject (test.asset)
2.Get test.asset Dependency Hash
3.Add a new serialize field on the class
4.Get test.asset Dependency Hash
step2 and step4 hashes are same.

If I change the class’s base class to MonoBehaviour, and use prefab to serialize data. Reproduce these steps, I can get diffirent hashes.So I think it’s a bug.

I’m trying to implement an incremental asset build pipeline. I get runtime error which ask me to rebuild assetbundle of some ScriptableObjects recently.

Help~

1 Like

Submit a bug report even if you aren’t sure it’s a bug or not - it is the only reliable way to get feedback/support from the Devs.

1 Like