Unable to connect to a VA Server that is not localhost
Due to unclear call order of GameObject's Awake functions, it is not guaranteed that VAUConfig's Awake function is called before any other VAU script, or at least before the first call of VAUAdapter.VA. Thus the Adapter is likely to attempt a connection to a local VA server, whereas we expect it to connect to a VA server on a different machine.
Assigning the highest priority to run VAConfig at game start in Unity's script execution order did not resolve the issue.
- Forbid VAU Scripts from calling VAUAdapter.VA in their Awake functions
- Remove VAUConfig completely and move configuration options to VAUAdapter (preferred, as the VAUAdapter saves the default configuration anyway which, ridiculously, is then used to initialize the default values of VAUConfig.)
Edit: Option 2 is not possible, because static fields cannot be edited in the inspector