I am looking into the accelerator for a project which is going to upgrade to 19.3. I have started researching it and looking into all the configurable options.
Documentation is very slim compared to the cache serve on github.
I read over the following links and found very little related to options.
Failing to find documentation I started browsing through the install and doing -h on the options I found.
unity-accelerator -help
unity-accelerator tool -h
unity-accelerator run -help
It looks like most options are stored in unity-accelerator.cfg
It seems the default port is 10080 which is only known by looking at the picture in the “out now” thread.
The default web GUI port is 8080. I found by guessing as it was the “LastUsedHTTPPort” value in the cfg file.
I have a few questions. These are based on using the linux version.
-
How do I specify the port to use that is entered in Unity (10080)?
I found a few items related to ports are “HTTPPort” or run -http-port and “ProtobufPort” or run -protobuf-port. http port is for the web GUI. I assume ProtoBuf port is for transmitting data. -
How do I specify the cache location?
While there is “CacheDir” or run -persist, these seem to be for the configuration and logs, not cache. When running with unity-accelerator-launch start after install and connecting with untiy, a directory named unity-accelerator-cache is created in the home directory. Can I override the location? -
Why are LastUsedHTTPPort and LastUsedProtoBufPort assigned seemingly random values when calling unity-accelerator-launch start?
Thanks
Brian
