Use ResourceId ctor to compute resource hashes. Also use Hash in ResourceManager