Hi,
I have recently began using Unity Analytics, which is working fine locally. (Enabled via windows → services).
However, once committed to source control, the Jenkins builder gets the following error:
error CS0103: The name `Analytics’ does not exist in the current context
I have tried opening Unity 5.3.4f1 on our Jenkins machine and enabling the Analytics service there, which appears to work. But Unity must be closed for the Jenkins ‘Unity -batchmode’ build player command to execute…
Which results in the error stated above.
Our UnityConnectSettings.asset has analytics as enabled, and the correct ‘cloud project id’ is set in ProjectSettings.asset.
Any help would be much appreciated,
Thanks.