Search Unity

[UnityConnectServicesConfig] config is NOT valid

Discussion in 'Unity Cloud Build' started by rockin, Nov 14, 2019.

  1. rockin

    rockin

    Joined:
    Dec 11, 2013
    Posts:
    11
    Hello, I am posting this in the Cloud Build forum, although I am running the build in batchmode on our own Windows machine.

    On these batch builds we get the Made with Unity logo on the splash screen although we have Pro licenses. If we do the builds manually on our local PCs, this issue is not present.

    We noticed these lines in the log:


    Initiating legacy licensing module
    LICENSE SYSTEM [20191112 21:29:48] Next license update check is after 2019-10-29T21:45:34
    LICENSE SYSTEM [20191112 21:29:48] 00330-80000-00000-AA957 != 00330-80000-00000-AA512


    and later on:


    [UnityConnectServicesConfig] config is NOT valid, switching to default
    [[*user name edited by me*]] logged in successfully
    DisplayProgressbar: Closing open Unity projects in Xcode


    We are running the editor like this:

    Unity.exe -CacheServerIPAddress [[edited]] -projectPath [[edited]] -buildTarget iOS -silent-crashes
    -no-dialogs -batchmode -username [[edited]] -password [[edited]] -serial [[edited]] -quit
    -executeMethod BuildCommand.PerformBuild [[edited]] -logFile [[edited]]


    Where
    BuildCommand.PerformBuild
    is our internal static method that actually does the build.

    Do you have any pointers as to what might be going on?
     
  2. rockin

    rockin

    Joined:
    Dec 11, 2013
    Posts:
    11
    EDIT: Ah, silly me.

    Hello! I managed to solve this myself! The user was not correctly authenticated on the machine where we were doing the batch build!
     
    Last edited: Nov 18, 2019
unityunity