Description of issue:
Cloud Build Fails to build for android after adding Facebook SDK 7.9.4
The error says that the bundle id isn’t set properly but it is set in the project settings and it does build on the cloud without the Facebook SDK in the project.
Unity version: 5.6.0f3
XCode version: No idea what’s on the Cloud Build Servers assuming 8.x
Source control: Git
Local build platform: Windows 10, Unity 5.6.0f3, VS 2017 CE
Build target: Android (Non debug build)
Relevant plugins being used - Facebook SDK 7.9.4
Project name: FacebookSDK_Test
Build log (relevant chunk):
*** Completed ‘Build.Player.AndroidPlayer’ in 155 seconds (155258 ms)
2611: [Unity] Player export failed. Reason: The default Unity Bundle Identifier (com.Company.ProductName) will not work correctly.
2612: [Unity] UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
2613: [Unity] UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[ ])
2614: [Unity] UnityEngine.Logger:Log(LogType, Object)
2615: [Unity] UnityEngine.Debug:Log(Object)
2616: [Unity] UnityEditor.CloudBuild.BuildLogger:Log(String, Object[ ])
2617: [Unity] UnityEditor.CloudBuild.Builder:Build()
2618: [Unity] Refresh: detecting if any assets need to be imported or removed … Refresh: elapses 0.015749 seconds (Nothing changed)
2619: [Unity] Updating ProjectSettings/ProjectSettings.asset - GUID: 00000000000000004000000000000000…
2620: [Unity] done. [Time: 3.084436 ms]
2621: [Unity] Refreshing native plugins compatible for Editor in 9.51 ms, found 2 plugins.
2622: [Unity] Preloading 1 native plugins for Editor in 1.09 ms.
2623: [Unity] ----- Total AssetImport time: 0.090573s, AssetImport time: 0.031335s, Asset hashing: 0.000000s [0 B, 0.000000 mb/s]
2624: [Unity] Refresh: detecting if any assets need to be imported or removed … Refresh: elapses 0.014396 seconds (Nothing changed)
2625: [Unity] Cleanup mono
2626: [Unity] Checking for leaked weakptr:
2627: [Unity] Found no leaked weakptrs.
2628: [Unity] Assertion failed on expression: ‘ms_Instance != NULL’
2629: [Unity] ##unity-automation:{“messageType”:“MemoryLeaks”,“allocatedMemory”:166723,“memoryLabels”:[{“Default”:96},{“Permanent”:16128},{“Thread”:616},{“Manager”:1976},{“GfxDevice”:19072},{“GfxThread”:2688},{“Physics”:8},{“Serialization”:12704},{“JobScheduler”:144},{“GarbageCollector”:1048576},{“Renderer”:224},{“Terrain”:224},{“STL”:66048},{“String”:19354},{“DynamicArray”:3112},{“Utility”:-1048576},{“PoolAlloc”:-224},{“ScriptManager”:3280},{“Sprites”:1176},{“VR”:11404},{“EditorUtility”:544},{“AssetImporter”:368},{“RestService”:64},{“License”:965},{“UnityConnect”:6024},{“Collab”:728}]}
2630: ! Unity player export failed!
2631: ! build of ‘default-android’ failed. compile failed
2632: Publishing build 1 of randhall/client for target ‘default-android’…
2633: publishing finished successfully.
2634: done.
2635: Build step ‘Execute shell’ marked build as failure
2636: postbuildstatus finished successfully.
2637: Finished: FAILURE