Environment variable for setting preferred resolver
Currently, the only way to set the preferred primary resolver is to call SetPreferredResolver() at the correct time. However, due to plugin loading order in different DCCs running this at an appropriate time can be difficult. Having an environment variable, say AR_PREFERRED_RESOLVER that sets the default for preferred resolver would make it easier to make sure it is set at an appropriate time.
We think that's quite reasonable, even given that not all platforms support env var's equally well. We'd consider a PR if you'd like to send one in with a CLA? THe variable name should have a "PXR_" prefix, and SetPreferredResolver() should still win if it was called, we think.
Thanks!