Search Unity

Unity Cloud Build Failures

Discussion in 'Unity Build Automation' started by PorpoiseStudios, Dec 30, 2019.

  1. PorpoiseStudios

    PorpoiseStudios

    Joined:
    Oct 12, 2019
    Posts:
    6
    Hi all,

    Been stumped at my Unity Cloud Build failing for a few days now... Does anyone have any experience with these or any ideas? Here are the full log snippets:

    1) A JSON parse error that there's not much other context. It doesn't even show what JSON file. Is this an internal error?
    Code (CSharp):
    1. 674: [Unity] Refreshing native plugins compatible for Editor in 6.37 ms, found 1 plugins.
    2. 675: [Unity] Preloading 0 native plugins for Editor in 0.00 ms.
    3. 676: [Unity] Uploading Crash Report
    4. 677: [Unity] ArgumentException: JSON parse error: Invalid value.
    5. 678: [Unity]   at (wrapper managed-to-native) UnityEngine.JsonUtility.FromJsonInternal(string,object,System.Type)
    6. 679: [Unity] UnityEngine.ScriptableObject:CreateScriptableObjectInstanceFromType(Type, Boolean)
    7. 680: [Unity] RefreshInfo: InitialScriptRefreshV2(NoUpdateAssetOptions)
    2) The IAP & UDP FakeStore error that I keep getting even though I'm following all the other forum posts about re-importing IAP & UDP plugins to no avail. For example: https://answers.unity.com/questions/1659242/unity-20192-iap-unityengineui-error.html

    Code (CSharp):
    1. 1118: [Unity] Symbol file LoadedFromMemory doesn't match image /BUILD_PATH/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll
    2. 1119: [Unity] Error: Could not load signature of UnityEngine.Purchasing.UIFakeStore:GetOkayButton due to: Could not load file or assembly 'UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none>
    3. 1120: [Unity] (Filename: ./Runtime/Mono/MonoAttributeHelpers.cpp Line: 385)
    4. 1121: [Unity] Unloading broken assembly Assets/Plugins/UnityPurchasing/Bin/Stores.dll, this assembly can cause crashes in the runtime
    5. 1122: [Unity] (Filename: ./Runtime/Mono/MonoManager.cpp Line: 1182)
    3) I am using 2019.3.0f3 locally, but I noticed that Cloud Build logs show it loads 2019.3.0f1. Could this be an issue?

    Code (CSharp):
    1.  
    2. + Detected last used Unity version: [COLOR=#ff0000]2019.3.0f3[/COLOR]
    3. + Detecting Unity installation ...
    4. + Building with Unity installed at /UNITY_PATH/Unity/macos/published/Unity-[COLOR=#ff4d4d]2019_3_0f1[/COLOR]/Unity.app/Contents/MacOS/Unity
    5. Using 2018+ DLL
    6. + Installing UnityCloud build tools
    7.        Injecting custom Scripting Define Symbols 'UNITY_CLOUD_BUILD'
    8. + Switching Unity to target platform

    Appreciate any help, thanks.
     
  2. PorpoiseStudios

    PorpoiseStudios

    Joined:
    Oct 12, 2019
    Posts:
    6
    Update: I had to go back to a previous last known good commit and start over from there. I think there was a mixture of converting/migrating to "force text" that corrupted some files and caused these weird errors. Thank god for source control... :)