I’m looking for a way to detect a change to a particular asset - we’re storing data derived from other assets, and that data needs to be updated if those assets change. Just marking our data dirty on change unfortunately isn’t sufficient, since we need to be able to detect changes to these other assets even if our asset hasn’t been saved.
What I want is to store an array of hashes for the referenced assets, which I can compare against their current hashes to see if anything’s changed. Are there any pre-existing hashing mechanisms like that built into Unreal, either as part of UObject or UPackage? I haven’t been able to find anything.
Getting a “last modified time” for a UPackage could also work.