Method KeyForPath
KeyForPath(string)
The content key the manifest resolves an asset path under, or null when the path is not content.
This is the question a caller that is writing a reference has to ask: an encoded reference is meant to be resolvable by the runtime, and the runtime resolves against the manifest. Asking Addressables instead — which is what ContentEncoder did — answers about a different table, and the two can disagree.
public static string KeyForPath(string assetPath)
Parameters
assetPathstring